Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.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/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 115.6 kB / 17.06 MB, free: 5.996 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.001278/0.001278, allocations: 192 kB / 18 MB, free: 5.074 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.387/1.387, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1762/0.1762, allocations: 38.02 MB / 329.9 MB, free: 8.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002915/0.002915, allocations: 67.89 kB / 457.7 MB, free: 7.312 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3689/0.3719, allocations: 58.05 MB / 0.5036 GB, free: 7.484 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3): time 0.002943/0.3749, allocations: 2.054 MB / 0.5056 GB, free: 6.051 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006695/0.3756, allocations: 0.518 MB / 0.5061 GB, free: 5.699 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.999e-05/0.3756, allocations: 1.562 kB / 0.5061 GB, free: 5.699 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001412/0.3758, allocations: 12.61 kB / 0.5061 GB, free: 5.691 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.731e-05/0.3759, allocations: 25.73 kB / 0.5062 GB, free: 5.68 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003187/0.3762, allocations: 67.39 kB / 0.5062 GB, free: 5.652 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001213/0.3763, allocations: 67.98 kB / 0.5063 GB, free: 5.625 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.595e-05/0.3764, allocations: 3.281 kB / 0.5063 GB, free: 5.625 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.505e-05/0.3765, allocations: 33.03 kB / 0.5063 GB, free: 5.609 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.816e-05/0.3765, allocations: 23.8 kB / 0.5064 GB, free: 5.602 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.122e-05/0.3765, allocations: 1.219 kB / 0.5064 GB, free: 5.602 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001675/0.3767, allocations: 78.44 kB / 0.5064 GB, free: 5.574 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.271e-05/0.3768, allocations: 42.08 kB / 0.5065 GB, free: 5.562 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.964e-05/0.3768, allocations: 43.19 kB / 0.5065 GB, free: 5.531 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002303/0.3771, allocations: 150.4 kB / 0.5067 GB, free: 5.484 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3771, allocations: 1.062 kB / 0.5067 GB, free: 5.484 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3771, allocations: 0 / 0.5067 GB, free: 5.484 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.032e-06/0.3771, allocations: 4 kB / 0.5067 GB, free: 5.48 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0003897/0.3775, allocations: 489.4 kB / 0.5071 GB, free: 5.023 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.3775, allocations: 13.45 kB / 0.5071 GB, free: 5.02 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.828e-05/0.3776, allocations: 49.11 kB / 0.5072 GB, free: 4.973 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.473e-05/0.3776, allocations: 18.66 kB / 0.5072 GB, free: 4.961 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/0.3778, allocations: 202.3 kB / 0.5074 GB, free: 4.738 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.3778, allocations: 1.219 kB / 0.5074 GB, free: 4.738 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.727e-06/0.3778, allocations: 5.062 kB / 0.5074 GB, free: 4.734 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001799/0.378, allocations: 134.2 kB / 0.5075 GB, free: 4.672 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.378, allocations: 0 / 0.5075 GB, free: 4.672 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.714e-06/0.378, allocations: 0 / 0.5075 GB, free: 4.672 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.378, allocations: 1.281 kB / 0.5075 GB, free: 4.672 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.742e-05/0.3781, allocations: 94.75 kB / 0.5076 GB, free: 4.648 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001379/0.3783, allocations: 199.6 kB / 0.5078 GB, free: 4.434 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001389/0.3784, allocations: 157 kB / 0.508 GB, free: 4.348 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001133/0.3785, allocations: 139.8 kB / 0.5081 GB, free: 4.285 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.04e-06/0.3785, allocations: 4 kB / 0.5081 GB, free: 4.281 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.034e-05/0.3786, allocations: 34.09 kB / 0.5081 GB, free: 4.242 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 1.222e-06/0.3786, allocations: 0 / 0.5081 GB, free: 4.242 MB / 382.1 MB Notification: Performance of matching and sorting (n=40): time 0.0005689/0.3791, allocations: 479.2 kB / 0.5086 GB, free: 4.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.313e-05/0.3792, allocations: 112 kB / 0.5087 GB, free: 3.988 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/0.3793, allocations: 146.3 kB / 0.5088 GB, free: 3.871 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.767e-06/0.3793, allocations: 25.7 kB / 0.5089 GB, free: 3.84 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.351e-05/0.3794, allocations: 95.23 kB / 0.509 GB, free: 3.75 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.456e-05/0.3795, allocations: 139.6 kB / 0.5091 GB, free: 3.641 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.641e-05/0.3795, allocations: 34.8 kB / 0.5091 GB, free: 3.617 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.143e-05/0.3796, allocations: 336.8 kB / 0.5094 GB, free: 3.293 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.506e-05/0.3797, allocations: 89.5 kB / 0.5095 GB, free: 3.273 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.011e-05/0.3798, allocations: 94.78 kB / 0.5096 GB, free: 3.25 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003202/0.3801, allocations: 364.4 kB / 0.51 GB, free: 3.121 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3801, allocations: 0 / 0.51 GB, free: 3.121 MB / 382.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003183/0.3804, allocations: 323.6 kB / 0.5103 GB, free: 2.996 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.728e-05/0.3805, allocations: 86.22 kB / 0.5104 GB, free: 2.957 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.3805, allocations: 7.938 kB / 0.5104 GB, free: 2.949 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.3806, allocations: 0.7969 kB / 0.5104 GB, free: 2.949 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.92e-07/0.3806, allocations: 1.281 kB / 0.5104 GB, free: 2.949 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.3806, allocations: 0 / 0.5104 GB, free: 2.949 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.482e-05/0.3806, allocations: 20.25 kB / 0.5104 GB, free: 2.938 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.555e-05/0.3806, allocations: 6.688 kB / 0.5104 GB, free: 2.938 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000176/0.3808, allocations: 236 kB / 0.5106 GB, free: 2.777 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.086e-05/0.3809, allocations: 22.41 kB / 0.5106 GB, free: 2.77 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.739e-05/0.3809, allocations: 18.08 kB / 0.5107 GB, free: 2.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.3809, allocations: 4 kB / 0.5107 GB, free: 2.746 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.3809, allocations: 5.656 kB / 0.5107 GB, free: 2.742 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.3809, allocations: 0.75 kB / 0.5107 GB, free: 2.742 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001346/0.3811, allocations: 229.2 kB / 0.5109 GB, free: 2.523 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3811, allocations: 0 / 0.5109 GB, free: 2.523 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.072e-06/0.3811, allocations: 2.234 kB / 0.5109 GB, free: 2.523 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.3811, allocations: 0 / 0.5109 GB, free: 2.523 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.891e-05/0.3811, allocations: 6.953 kB / 0.5109 GB, free: 2.523 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.3811, allocations: 5.031 kB / 0.5109 GB, free: 2.52 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3811, allocations: 0 / 0.5109 GB, free: 2.52 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009378/0.382, allocations: 0.907 MB / 0.5118 GB, free: 2.258 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.763e-05/0.3821, allocations: 99.42 kB / 0.5119 GB, free: 2.148 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.07e-05/0.3821, allocations: 5.969 kB / 0.5119 GB, free: 2.148 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.322e-05/0.3822, allocations: 7.234 kB / 0.5119 GB, free: 2.148 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.499e-05/0.3822, allocations: 6.25 kB / 0.5119 GB, free: 2.145 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.619e-05/0.3822, allocations: 7.375 kB / 0.5119 GB, free: 2.145 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.434e-05/0.3823, allocations: 118.7 kB / 0.512 GB, free: 2.059 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3823, allocations: 4.031 kB / 0.512 GB, free: 2.055 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002745/0.3826, allocations: 62.62 kB / 0.5121 GB, free: 2.051 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001243/0.3838, allocations: 1.456 MB / 0.5135 GB, free: 1.266 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001527/0.3854, allocations: 1.588 MB / 0.515 GB, free: 452 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3854, allocations: 0 / 0.515 GB, free: 452 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001119/0.3865, allocations: 1.37 MB / 0.5164 GB, free: 15.66 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002721/0.3868, allocations: 30.97 kB / 0.5164 GB, free: 15.65 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003919/0.3907, allocations: 3.461 MB / 0.5198 GB, free: 13.97 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004034/0.3911, allocations: 0.7528 MB / 0.5205 GB, free: 13.27 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.972e-05/0.3912, allocations: 2.75 kB / 0.5205 GB, free: 13.27 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.848e-05/0.3912, allocations: 41.22 kB / 0.5206 GB, free: 13.23 MB / 398.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3912, allocations: 0 / 0.5206 GB, free: 13.23 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02869/0.4199, allocations: 4.851 MB / 0.5253 GB, free: 12.64 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.116/8.536, allocations: 13.05 kB / 0.5253 GB, free: 12.63 MB / 398.1 MB (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc3_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc3.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe 2>&1)