Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|busbar.alpha_v|busbar1.alpha_v|sensor.p.1.|sensor.p.2.|sensor.p.3.|sensor1.p.1.|sensor1.p.2.|sensor1.p.3.|turboGen.generator.powerAngle",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine") translateModel(PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|busbar.alpha_v|busbar1.alpha_v|sensor.p.1.|sensor.p.2.|sensor.p.3.|sensor1.p.1.|sensor1.p.2.|sensor1.p.3.|turboGen.generator.powerAngle",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008234/0.0008234, allocations: 97.98 kB / 16.31 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008198/0.0008198, allocations: 181.1 kB / 17.2 MB, free: 5.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.214/1.214, allocations: 223.2 MB / 241.1 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.282/0.282, allocations: 38.05 MB / 330.3 MB, free: 14.21 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002873/0.0002873, allocations: 8 kB / 400 MB, free: 9.293 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2783/0.2786, allocations: 59.16 MB / 459.1 MB, free: 30.43 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine): time 0.009269/0.2879, allocations: 10.4 MB / 469.5 MB, free: 23.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007072/0.295, allocations: 4.189 MB / 473.7 MB, free: 20.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001589/0.2966, allocations: 67.78 kB / 473.8 MB, free: 20.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001033/0.2976, allocations: 339.9 kB / 474.1 MB, free: 19.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002805/0.3004, allocations: 0.7768 MB / 474.9 MB, free: 19.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001846/0.3023, allocations: 0.5768 MB / 475.5 MB, free: 19.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001853/0.3042, allocations: 1.059 MB / 476.5 MB, free: 18.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002163/0.3063, allocations: 1.507 MB / 478 MB, free: 17.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001037/0.3074, allocations: 0.5789 MB / 478.6 MB, free: 17.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008497/0.3082, allocations: 0.6239 MB / 479.2 MB, free: 17.33 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001343/0.3084, allocations: 61.47 kB / 479.3 MB, free: 17.33 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008925/0.3093, allocations: 406.7 kB / 479.7 MB, free: 17.15 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004481/0.3097, allocations: 0.5698 MB / 480.3 MB, free: 16.83 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002951/0.3101, allocations: 300.7 kB / 480.6 MB, free: 16.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001559/0.3116, allocations: 1.757 MB / 482.3 MB, free: 15.47 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.3116, allocations: 1.781 kB / 482.3 MB, free: 15.47 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3116, allocations: 0 / 482.3 MB, free: 15.47 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.271e-05/0.3117, allocations: 0 / 482.3 MB, free: 15.47 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 331 * Number of variables: 331 Notification: Performance of Generate backend data structure: time 0.002969/0.3146, allocations: 1.542 MB / 483.9 MB, free: 14.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.3147, allocations: 9.156 kB / 483.9 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001665/0.3164, allocations: 307.7 kB / 484.2 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002011/0.3184, allocations: 1.005 MB / 485.2 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.026e-05/0.3185, allocations: 94.75 kB / 485.3 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003423/0.3188, allocations: 157.3 kB / 485.4 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002278/0.3211, allocations: 1.673 MB / 487.1 MB, free: 11.83 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.43e-05/0.3212, allocations: 11.84 kB / 487.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001057/0.3213, allocations: 55.92 kB / 487.2 MB, free: 11.76 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002542/0.3215, allocations: 102.4 kB / 487.3 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001803/0.3234, allocations: 1.426 MB / 488.7 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006636/0.33, allocations: 6.095 MB / 494.8 MB, free: 3.797 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008859/0.3309, allocations: 0.7225 MB / 495.5 MB, free: 3.051 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.822e-05/0.331, allocations: 16.7 kB / 495.5 MB, free: 3.035 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.331, allocations: 39.22 kB / 495.6 MB, free: 2.988 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 2.285e-06/0.331, allocations: 0 / 495.6 MB, free: 2.988 MB / 350.1 MB Notification: Performance of matching and sorting (n=82): time 0.007775/0.3388, allocations: 4.39 MB / 499.9 MB, free: 14.44 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.221e-05/0.3389, allocations: 166.9 kB / 0.4884 GB, free: 14.24 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008968/0.3398, allocations: 0.8333 MB / 0.4892 GB, free: 13.4 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.229e-05/0.3398, allocations: 41.7 kB / 0.4892 GB, free: 13.36 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004254/0.3403, allocations: 0.6273 MB / 0.4898 GB, free: 12.72 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002244/0.3405, allocations: 307.7 kB / 0.4901 GB, free: 12.41 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.091e-05/0.3406, allocations: 20 kB / 0.4902 GB, free: 12.39 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001812/0.3408, allocations: 357.8 kB / 0.4905 GB, free: 12.04 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007553/0.3415, allocations: 482.3 kB / 0.491 GB, free: 11.57 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008586/0.3424, allocations: 0.7619 MB / 0.4917 GB, free: 10.69 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008451/0.3432, allocations: 0.5964 MB / 0.4923 GB, free: 10.09 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.3433, allocations: 4 kB / 0.4923 GB, free: 10.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003358/0.3466, allocations: 1.89 MB / 0.4941 GB, free: 8.172 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000981/0.3476, allocations: 3.22 MB / 0.4973 GB, free: 4.703 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002853/0.3505, allocations: 1.491 MB / 0.4987 GB, free: 3.195 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001899/0.3524, allocations: 0.5645 MB / 0.4993 GB, free: 2.617 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001498/0.3539, allocations: 483.5 kB / 0.4998 GB, free: 2.145 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01325/0.3672, allocations: 13.45 MB / 0.5129 GB, free: 3.762 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001013/0.3682, allocations: 67.94 kB / 0.5129 GB, free: 3.695 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.416e-05/0.3683, allocations: 48 kB / 0.513 GB, free: 3.648 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.255e-06/0.3683, allocations: 4 kB / 0.513 GB, free: 3.645 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003124/0.3714, allocations: 1.729 MB / 0.5147 GB, free: 1.895 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002618/0.3741, allocations: 1.421 MB / 0.5161 GB, free: 472 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001771/0.3758, allocations: 0.5583 MB / 0.5166 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006975/0.3766, allocations: 223.6 kB / 0.5168 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01027/0.3868, allocations: 10.35 MB / 0.5269 GB, free: 4.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009365/0.3878, allocations: 60.02 kB / 0.527 GB, free: 4.602 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.497e-05/0.3879, allocations: 44 kB / 0.527 GB, free: 4.559 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (118): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(2,100.0%) 8,(1,100.0%) 1} * Non-linear torn systems: 1 {2 11} Notification: Performance of prepare postOptimizeDAE: time 0.0007618/0.3887, allocations: 0.4928 MB / 0.5275 GB, free: 4.055 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001687/0.3888, allocations: 102.7 kB / 0.5276 GB, free: 3.953 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002337/0.3912, allocations: 1.421 MB / 0.529 GB, free: 2.504 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/0.3912, allocations: 8 kB / 0.529 GB, free: 2.496 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.3912, allocations: 4 kB / 0.529 GB, free: 2.492 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/0.3912, allocations: 11.98 kB / 0.529 GB, free: 2.48 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00473/0.396, allocations: 2.838 MB / 0.5318 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.887e-06/0.396, allocations: 7.938 kB / 0.5318 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005605/0.3965, allocations: 136.2 kB / 0.5319 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001026/0.3976, allocations: 395.7 kB / 0.5323 GB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.898e-05/0.3977, allocations: 31.98 kB / 0.5323 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007352/0.405, allocations: 8.763 MB / 0.5409 GB, free: 5.531 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.4051, allocations: 4.031 kB / 0.5409 GB, free: 5.527 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003154/0.4082, allocations: 2.066 MB / 0.5429 GB, free: 3.328 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000568/0.4088, allocations: 255.7 kB / 0.5432 GB, free: 3.059 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001536/0.409, allocations: 31.98 kB / 0.5432 GB, free: 3.027 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005353/0.4095, allocations: 51.95 kB / 0.5432 GB, free: 2.977 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001324/0.4096, allocations: 68.45 kB / 0.5433 GB, free: 2.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.905e-05/0.4097, allocations: 27.98 kB / 0.5433 GB, free: 2.883 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007528/0.4105, allocations: 0.5703 MB / 0.5439 GB, free: 2.301 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4105, allocations: 4 kB / 0.5439 GB, free: 2.297 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002127/0.4126, allocations: 0.6328 MB / 0.5445 GB, free: 1.664 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 8 (turboGen.generator.i_s[1],turboGen.generator.i_s[2],turboGen.generator.i_s[3],turboGen.rotor.phi,turboGen.rotor.w,RLgen1.i[1],RLgen1.i[2],RLgen1.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(2,100.0%) 10,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 1,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000306/0.4129, allocations: 161.6 kB / 0.5447 GB, free: 1.5 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005416/0.4183, allocations: 3.521 MB / 0.5481 GB, free: 13.85 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.4184, allocations: 5.562 kB / 0.5481 GB, free: 13.84 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001643/0.42, allocations: 1.181 MB / 0.5493 GB, free: 12.6 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009694/0.421, allocations: 206 kB / 0.5495 GB, free: 12.39 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004694/0.4257, allocations: 3.69 MB / 0.5531 GB, free: 8.645 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009597/0.4267, allocations: 1.374 MB / 0.5544 GB, free: 7.242 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0009228/0.4276, allocations: 344.2 kB / 0.5547 GB, free: 6.902 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001855/0.4278, allocations: 75.41 kB / 0.5548 GB, free: 6.832 MB / 430.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4278, allocations: 3.938 kB / 0.5548 GB, free: 6.828 MB / 430.1 MB Notification: Performance of Templates: time 0.02833/0.4561, allocations: 20.12 MB / 0.5745 GB, free: 2.801 MB / 446.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.makefile Environment - environmentSimulation: (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches