Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.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.Generic.Test.PMeterTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_PMeterTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.PMeterTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_PMeterTest",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.001644/0.001644, allocations: 108.4 kB / 17.06 MB, free: 5.973 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.001324/0.001324, allocations: 197.3 kB / 18.01 MB, free: 5.051 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.419/1.419, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1793/0.1793, allocations: 38.04 MB / 329.9 MB, free: 8.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00186/0.00186, allocations: 59.91 kB / 457.6 MB, free: 7.344 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3226/0.3245, allocations: 58.05 MB / 0.5036 GB, free: 7.508 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.PMeterTest): time 0.004064/0.3286, allocations: 3.431 MB / 0.507 GB, free: 5.125 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001607/0.3302, allocations: 1.531 MB / 0.5084 GB, free: 4.047 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001108/0.3304, allocations: 5.281 kB / 0.5085 GB, free: 4.047 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007019/0.3311, allocations: 256.7 kB / 0.5087 GB, free: 3.891 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000493/0.3316, allocations: 275.1 kB / 0.509 GB, free: 3.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002512/0.3318, allocations: 134.4 kB / 0.5091 GB, free: 3.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003529/0.3322, allocations: 336.1 kB / 0.5094 GB, free: 3.539 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002627/0.3325, allocations: 129.9 kB / 0.5095 GB, free: 3.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001835/0.3327, allocations: 149.9 kB / 0.5097 GB, free: 3.43 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002085/0.3329, allocations: 152.9 kB / 0.5098 GB, free: 3.363 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.736e-05/0.3329, allocations: 14.09 kB / 0.5098 GB, free: 3.363 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004502/0.3334, allocations: 343.7 kB / 0.5102 GB, free: 3.227 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001116/0.3335, allocations: 95.25 kB / 0.5103 GB, free: 3.199 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.3336, allocations: 103 kB / 0.5104 GB, free: 3.141 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004592/0.3341, allocations: 362.2 kB / 0.5107 GB, free: 3.012 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3341, allocations: 0 / 0.5107 GB, free: 3.012 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3341, allocations: 1.156 kB / 0.5107 GB, free: 3.012 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.099e-05/0.3341, allocations: 0 / 0.5107 GB, free: 3.012 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005453/0.3347, allocations: 0.5184 MB / 0.5112 GB, free: 2.539 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.3347, allocations: 18.05 kB / 0.5112 GB, free: 2.531 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.4e-05/0.3348, allocations: 54.72 kB / 0.5113 GB, free: 2.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008317/0.3356, allocations: 103.4 kB / 0.5114 GB, free: 2.465 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002572/0.3359, allocations: 267.7 kB / 0.5116 GB, free: 2.227 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.3359, allocations: 15.77 kB / 0.5116 GB, free: 2.219 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.51e-05/0.3359, allocations: 24.03 kB / 0.5117 GB, free: 2.207 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000459/0.3364, allocations: 316.6 kB / 0.512 GB, free: 2.039 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.3364, allocations: 2.359 kB / 0.512 GB, free: 2.039 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.408e-05/0.3364, allocations: 9.984 kB / 0.512 GB, free: 2.031 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.069e-05/0.3365, allocations: 18.22 kB / 0.512 GB, free: 2.027 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004302/0.3369, allocations: 306 kB / 0.5123 GB, free: 1.934 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001354/0.3383, allocations: 1.286 MB / 0.5135 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002638/0.3385, allocations: 196.5 kB / 0.5137 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.738e-05/0.3386, allocations: 52.78 kB / 0.5138 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.3387, allocations: 1.219 kB / 0.5138 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.941e-05/0.3387, allocations: 32.41 kB / 0.5138 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.383e-06/0.3387, allocations: 1.062 kB / 0.5138 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002795/0.339, allocations: 137.9 kB / 0.5139 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.991e-05/0.339, allocations: 83.36 kB / 0.514 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001746/0.3392, allocations: 213.6 kB / 0.5142 GB, free: 408 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.034e-05/0.3392, allocations: 35.47 kB / 0.5143 GB, free: 368 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.698e-05/0.3393, allocations: 171.1 kB / 0.5144 GB, free: 212 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.274e-05/0.3393, allocations: 31.55 kB / 0.5145 GB, free: 188 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.517e-05/0.3394, allocations: 44.75 kB / 0.5145 GB, free: 156 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.3395, allocations: 327.6 kB / 0.5148 GB, free: 15.83 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.895e-05/0.3396, allocations: 39.69 kB / 0.5149 GB, free: 15.82 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000152/0.3398, allocations: 140.5 kB / 0.515 GB, free: 15.68 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002473/0.34, allocations: 200.4 kB / 0.5152 GB, free: 15.5 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.34, allocations: 1.281 kB / 0.5152 GB, free: 15.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003394/0.3404, allocations: 208.9 kB / 0.5154 GB, free: 15.39 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.3404, allocations: 10.88 kB / 0.5154 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.3404, allocations: 3.375 kB / 0.5154 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.3404, allocations: 4.156 kB / 0.5154 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001593/0.3406, allocations: 46.59 kB / 0.5154 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.3406, allocations: 5.266 kB / 0.5154 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00012/0.3407, allocations: 24.59 kB / 0.5155 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.505e-05/0.3407, allocations: 12.47 kB / 0.5155 GB, free: 15.37 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * 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.0001495/0.3409, allocations: 159.9 kB / 0.5156 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.019e-05/0.341, allocations: 15.72 kB / 0.5156 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002328/0.3412, allocations: 120 kB / 0.5158 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.3412, allocations: 2.5 kB / 0.5158 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.3412, allocations: 5.062 kB / 0.5158 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.3412, allocations: 0.7969 kB / 0.5158 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007847/0.342, allocations: 0.5747 MB / 0.5163 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.342, allocations: 3.766 kB / 0.5163 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.547e-05/0.3421, allocations: 20.53 kB / 0.5164 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.468e-06/0.3421, allocations: 9.406 kB / 0.5164 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.3422, allocations: 11.38 kB / 0.5164 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/0.3422, allocations: 4.25 kB / 0.5164 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/0.3422, allocations: 3 kB / 0.5164 GB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002915/0.3425, allocations: 279.3 kB / 0.5166 GB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.873e-05/0.3426, allocations: 97.72 kB / 0.5167 GB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.517e-05/0.3426, allocations: 8.828 kB / 0.5167 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.3427, allocations: 12 kB / 0.5168 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.797e-05/0.3428, allocations: 11.34 kB / 0.5168 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.3428, allocations: 7.156 kB / 0.5168 GB, free: 14.29 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000142/0.3429, allocations: 154.1 kB / 0.5169 GB, free: 14.2 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3429, allocations: 3.938 kB / 0.5169 GB, free: 14.19 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003547/0.3433, allocations: 53.3 kB / 0.517 GB, free: 14.18 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0006064/0.3439, allocations: 0.8354 MB / 0.5178 GB, free: 13.37 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002616/0.3442, allocations: 115.5 kB / 0.5179 GB, free: 13.33 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 9.007e-06/0.3442, allocations: 5.25 kB / 0.5179 GB, free: 13.33 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.39e-05/0.3443, allocations: 42.42 kB / 0.5179 GB, free: 13.32 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004113/0.3447, allocations: 39.55 kB / 0.518 GB, free: 13.3 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002808/0.3475, allocations: 2.321 MB / 0.5203 GB, free: 11.38 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004178/0.348, allocations: 0.7563 MB / 0.521 GB, free: 10.67 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001056/0.3481, allocations: 34.81 kB / 0.521 GB, free: 10.67 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.655e-05/0.3482, allocations: 56.95 kB / 0.5211 GB, free: 10.63 MB / 398.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3482, allocations: 4 kB / 0.5211 GB, free: 10.62 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02425/0.3724, allocations: 3.344 MB / 0.5243 GB, free: 10.09 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.2/10.57, allocations: 4.609 kB / 0.5244 GB, free: 10.09 MB / 398.1 MB (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Test_PMeterTest_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Test_PMeterTest.fmu > PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe 2>&1)