Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.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.FixedCurrentTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_FixedCurrentTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.FixedCurrentTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_FixedCurrentTest",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.001405/0.001405, allocations: 112.7 kB / 17.07 MB, free: 5.984 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.001293/0.001293, allocations: 193.4 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.374/1.374, 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.1762/0.1762, allocations: 38.03 MB / 329.9 MB, free: 8.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 63.89 kB / 457.6 MB, free: 7.344 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3273/0.3293, allocations: 58.06 MB / 0.5036 GB, free: 7.469 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedCurrentTest): time 0.004551/0.3339, allocations: 3.448 MB / 0.507 GB, free: 5.074 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001937/0.3358, allocations: 1.506 MB / 0.5084 GB, free: 4.016 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001308/0.336, allocations: 8.781 kB / 0.5085 GB, free: 4.012 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009111/0.3369, allocations: 257.9 kB / 0.5087 GB, free: 3.859 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006511/0.3375, allocations: 282.3 kB / 0.509 GB, free: 3.711 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003398/0.3379, allocations: 125.9 kB / 0.5091 GB, free: 3.648 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000402/0.3383, allocations: 344.4 kB / 0.5094 GB, free: 3.504 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002665/0.3386, allocations: 130.8 kB / 0.5095 GB, free: 3.461 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002102/0.3388, allocations: 148 kB / 0.5097 GB, free: 3.395 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002245/0.339, allocations: 157.8 kB / 0.5098 GB, free: 3.328 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.007e-05/0.3391, allocations: 13.53 kB / 0.5099 GB, free: 3.328 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004898/0.3396, allocations: 337.9 kB / 0.5102 GB, free: 3.191 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001198/0.3397, allocations: 101.6 kB / 0.5103 GB, free: 3.156 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001067/0.3398, allocations: 104.5 kB / 0.5104 GB, free: 3.098 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005043/0.3403, allocations: 361.8 kB / 0.5107 GB, free: 2.969 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3403, allocations: 0 / 0.5107 GB, free: 2.969 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3403, allocations: 5.344 kB / 0.5107 GB, free: 2.965 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.3404, allocations: 0 / 0.5107 GB, free: 2.965 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.0006357/0.341, allocations: 0.5192 MB / 0.5112 GB, free: 2.496 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.3411, allocations: 13.97 kB / 0.5112 GB, free: 2.492 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.375e-05/0.3411, allocations: 58.36 kB / 0.5113 GB, free: 2.438 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000871/0.342, allocations: 93.53 kB / 0.5114 GB, free: 2.422 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002919/0.3423, allocations: 266.1 kB / 0.5116 GB, free: 2.184 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.3423, allocations: 16.72 kB / 0.5117 GB, free: 2.176 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.561e-05/0.3424, allocations: 19.56 kB / 0.5117 GB, free: 2.168 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004761/0.3429, allocations: 319.5 kB / 0.512 GB, free: 1.996 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.3429, allocations: 1.469 kB / 0.512 GB, free: 1.996 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.372e-05/0.3429, allocations: 9.297 kB / 0.512 GB, free: 1.988 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.586e-05/0.3429, allocations: 25.73 kB / 0.512 GB, free: 1.98 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004301/0.3434, allocations: 296.3 kB / 0.5123 GB, free: 1.887 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001447/0.3448, allocations: 1.271 MB / 0.5135 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004154/0.3453, allocations: 229.8 kB / 0.5138 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001475/0.3454, allocations: 96.33 kB / 0.5138 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.638e-05/0.3455, allocations: 2.281 kB / 0.5138 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.972e-05/0.3455, allocations: 41.67 kB / 0.5139 GB, free: 0.75 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.894e-06/0.3455, allocations: 0 / 0.5139 GB, free: 0.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.0007608/0.3463, allocations: 441.2 kB / 0.5143 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.701e-05/0.3463, allocations: 83.3 kB / 0.5144 GB, free: 460 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001665/0.3465, allocations: 201.1 kB / 0.5146 GB, free: 324 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.3465, allocations: 30.77 kB / 0.5146 GB, free: 288 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.134e-05/0.3466, allocations: 160.5 kB / 0.5148 GB, free: 140 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.667e-05/0.3466, allocations: 56.02 kB / 0.5148 GB, free: 96 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.213e-05/0.3467, allocations: 57.8 kB / 0.5149 GB, free: 56 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.3468, allocations: 328.5 kB / 0.5152 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001574/0.347, allocations: 85.03 kB / 0.5153 GB, free: 15.71 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001966/0.3472, allocations: 151.7 kB / 0.5154 GB, free: 15.6 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003511/0.3476, allocations: 273.4 kB / 0.5157 GB, free: 15.42 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.3476, allocations: 0.5312 kB / 0.5157 GB, free: 15.42 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000444/0.348, allocations: 293.5 kB / 0.516 GB, free: 15.29 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.348, allocations: 5.531 kB / 0.516 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.938e-06/0.3481, allocations: 6.812 kB / 0.516 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.3481, allocations: 7.281 kB / 0.516 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000232/0.3483, allocations: 56.16 kB / 0.516 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.3483, allocations: 5.281 kB / 0.516 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000138/0.3485, allocations: 15.23 kB / 0.516 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.266e-05/0.3485, allocations: 7.562 kB / 0.5161 GB, free: 15.27 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (27): * Single equations (assignments): 27 * 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.0001587/0.3487, allocations: 160.5 kB / 0.5162 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.412e-05/0.3487, allocations: 19.36 kB / 0.5162 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004112/0.3492, allocations: 227.8 kB / 0.5164 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.3492, allocations: 10.23 kB / 0.5165 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.3492, allocations: 1.125 kB / 0.5165 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.3492, allocations: 0.8906 kB / 0.5165 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001556/0.3507, allocations: 0.9536 MB / 0.5174 GB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/0.3508, allocations: 4.562 kB / 0.5174 GB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001551/0.3509, allocations: 40.73 kB / 0.5174 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.288e-06/0.3509, allocations: 4.688 kB / 0.5174 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.405e-05/0.351, allocations: 10.53 kB / 0.5174 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.441e-05/0.351, allocations: 14.27 kB / 0.5175 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/0.351, allocations: 4.281 kB / 0.5175 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004836/0.3515, allocations: 417.5 kB / 0.5179 GB, free: 14.01 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.346e-05/0.3516, allocations: 99.69 kB / 0.518 GB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.817e-05/0.3516, allocations: 15.38 kB / 0.518 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001553/0.3518, allocations: 8.281 kB / 0.518 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.951e-05/0.3519, allocations: 30.61 kB / 0.518 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.862e-05/0.3519, allocations: 9.219 kB / 0.518 GB, free: 13.88 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001407/0.352, allocations: 149.6 kB / 0.5182 GB, free: 13.78 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.352, allocations: 0 / 0.5182 GB, free: 13.78 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000368/0.3524, allocations: 54.75 kB / 0.5182 GB, free: 13.77 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (18): * Single equations (assignments): 17 * 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.0007579/0.3532, allocations: 0.9428 MB / 0.5191 GB, free: 12.9 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000378/0.3536, allocations: 230.1 kB / 0.5193 GB, free: 12.82 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.3536, allocations: 1.312 kB / 0.5193 GB, free: 12.82 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001452/0.3537, allocations: 99.33 kB / 0.5194 GB, free: 12.79 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004468/0.3542, allocations: 48.38 kB / 0.5195 GB, free: 12.77 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00325/0.3574, allocations: 2.685 MB / 0.5221 GB, free: 10.7 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004237/0.3579, allocations: 0.7593 MB / 0.5229 GB, free: 9.996 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001451/0.358, allocations: 59.12 kB / 0.5229 GB, free: 9.988 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001314/0.3582, allocations: 69.03 kB / 0.523 GB, free: 9.938 MB / 398.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3582, allocations: 0 / 0.523 GB, free: 9.938 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0265/0.3847, allocations: 4.108 MB / 0.527 GB, free: 9.367 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.745/9.13, allocations: 25.08 kB / 0.527 GB, free: 9.352 MB / 398.1 MB (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Test_FixedCurrentTest_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Test_FixedCurrentTest.fmu > PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe 2>&1)