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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.001225/0.001225, allocations: 179.6 kB / 8.351 MB, free: 0.7227 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.408/1.408, allocations: 194.4 MB / 203.1 MB, free: 13.03 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001768/0.001768, allocations: 116.1 kB / 248.1 MB, free: 28 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1593/0.1593, allocations: 37.93 MB / 330.9 MB, free: 2.641 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.455e-05/1.455e-05, allocations: 0 / 390.5 MB, free: 6.996 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3038/0.3038, allocations: 53.23 MB / 443.7 MB, free: 17.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1247/0.4285, allocations: 88.94 MB / 0.5201 GB, free: 8.605 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002624/0.4289, allocations: 83.95 kB / 0.5202 GB, free: 8.523 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3184/0.7472, allocations: 14.12 MB / 0.534 GB, free: 88.6 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.7473, allocations: 4 kB / 0.534 GB, free: 88.6 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.609e-05/0.7473, allocations: 4.156 kB / 0.534 GB, free: 88.6 MB / 378.7 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.0007034/0.748, allocations: 494.6 kB / 0.5345 GB, free: 88.18 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.989e-05/0.7481, allocations: 9.531 kB / 0.5345 GB, free: 88.18 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009237/0.749, allocations: 98.48 kB / 0.5346 GB, free: 88.16 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003584/0.7494, allocations: 265.5 kB / 0.5348 GB, free: 87.94 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.003e-05/0.7494, allocations: 13.27 kB / 0.5349 GB, free: 87.94 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.966e-05/0.7495, allocations: 13.81 kB / 0.5349 GB, free: 87.93 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004379/0.7499, allocations: 194.1 kB / 0.5351 GB, free: 87.93 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005002/0.7504, allocations: 282.5 kB / 0.5353 GB, free: 87.85 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.7505, allocations: 5.172 kB / 0.5353 GB, free: 87.84 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.406e-05/0.7505, allocations: 2.438 kB / 0.5353 GB, free: 87.84 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.623e-05/0.7506, allocations: 28.42 kB / 0.5354 GB, free: 87.84 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001623/0.7522, allocations: 1.219 MB / 0.5366 GB, free: 87.12 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004386/0.7527, allocations: 228.5 kB / 0.5368 GB, free: 87.07 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001478/0.7528, allocations: 90.11 kB / 0.5369 GB, free: 87.05 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.514e-05/0.7529, allocations: 2.562 kB / 0.5369 GB, free: 87.05 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.7529, allocations: 35.91 kB / 0.5369 GB, free: 87.01 MB / 378.7 MB Notification: Performance of pre-optimization done (n=16): time 1.793e-06/0.7529, allocations: 0 / 0.5369 GB, free: 87.01 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.0007653/0.7537, allocations: 351.8 kB / 0.5372 GB, free: 86.84 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.839e-05/0.7537, allocations: 79.45 kB / 0.5373 GB, free: 86.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001653/0.7539, allocations: 160 kB / 0.5375 GB, free: 86.63 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.7539, allocations: 25.7 kB / 0.5375 GB, free: 86.6 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.095e-05/0.754, allocations: 166.5 kB / 0.5376 GB, free: 86.45 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.895e-05/0.7541, allocations: 53.89 kB / 0.5377 GB, free: 86.41 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.069e-05/0.7541, allocations: 1.125 kB / 0.5377 GB, free: 86.41 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.891e-05/0.7542, allocations: 326.5 kB / 0.538 GB, free: 86.09 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001224/0.7543, allocations: 82.16 kB / 0.5381 GB, free: 86.06 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001616/0.7545, allocations: 151.8 kB / 0.5382 GB, free: 85.94 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001704/0.7546, allocations: 99.75 kB / 0.5383 GB, free: 85.9 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.419e-06/0.7547, allocations: 4.609 kB / 0.5383 GB, free: 85.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003803/0.755, allocations: 264.2 kB / 0.5386 GB, free: 85.79 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.7551, allocations: 12.09 kB / 0.5386 GB, free: 85.78 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.7551, allocations: 0 / 0.5386 GB, free: 85.78 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.7551, allocations: 7.781 kB / 0.5386 GB, free: 85.78 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002375/0.7554, allocations: 56.53 kB / 0.5387 GB, free: 85.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.7554, allocations: 7.797 kB / 0.5387 GB, free: 85.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000141/0.7555, allocations: 14 kB / 0.5387 GB, free: 85.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.842e-05/0.7556, allocations: 13.97 kB / 0.5387 GB, free: 85.77 MB / 378.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.262e-05/0.7556, allocations: 113.7 kB / 0.5388 GB, free: 85.65 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002491/0.7559, allocations: 210.3 kB / 0.539 GB, free: 85.55 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.576e-05/0.7559, allocations: 17.81 kB / 0.539 GB, free: 85.55 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002903/0.7562, allocations: 204.5 kB / 0.5392 GB, free: 85.45 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.7562, allocations: 2.75 kB / 0.5392 GB, free: 85.45 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.902e-06/0.7563, allocations: 2.438 kB / 0.5392 GB, free: 85.45 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.7563, allocations: 3.188 kB / 0.5392 GB, free: 85.45 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009751/0.7572, allocations: 0.8869 MB / 0.5401 GB, free: 84.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.167e-06/0.7573, allocations: 2.656 kB / 0.5401 GB, free: 84.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001307/0.7574, allocations: 41.47 kB / 0.5401 GB, free: 84.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.805e-06/0.7574, allocations: 7.625 kB / 0.5401 GB, free: 84.88 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/0.7574, allocations: 3.875 kB / 0.5401 GB, free: 84.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.7574, allocations: 3.844 kB / 0.5401 GB, free: 84.88 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.486e-06/0.7575, allocations: 7.781 kB / 0.5401 GB, free: 84.87 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004208/0.7579, allocations: 0.5872 MB / 0.5407 GB, free: 84.25 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.687e-05/0.758, allocations: 104.3 kB / 0.5408 GB, free: 84.14 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.4e-05/0.758, allocations: 3.844 kB / 0.5408 GB, free: 84.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001471/0.7581, allocations: 11.12 kB / 0.5408 GB, free: 84.14 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.216e-05/0.7582, allocations: 23.44 kB / 0.5409 GB, free: 84.13 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.7e-05/0.7582, allocations: 12.53 kB / 0.5409 GB, free: 84.13 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.65e-05/0.7583, allocations: 130.9 kB / 0.541 GB, free: 84.04 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.7583, allocations: 0 / 0.541 GB, free: 84.04 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004044/0.7587, allocations: 49.56 kB / 0.541 GB, free: 84.04 MB / 378.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001077/0.7598, allocations: 2.235 MB / 0.5432 GB, free: 81.81 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002683/0.7601, allocations: 193.1 kB / 0.5434 GB, free: 81.75 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.7601, allocations: 0 / 0.5434 GB, free: 81.75 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001109/0.7602, allocations: 91.3 kB / 0.5435 GB, free: 81.71 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003122/0.7605, allocations: 35.19 kB / 0.5435 GB, free: 81.7 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009304/0.7615, allocations: 497 kB / 0.544 GB, free: 81.35 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002031/0.7617, allocations: 0.7697 MB / 0.5448 GB, free: 80.64 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001326/0.7618, allocations: 52.95 kB / 0.5448 GB, free: 80.64 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.068e-05/0.7619, allocations: 57.78 kB / 0.5449 GB, free: 80.59 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.7619, allocations: 0 / 0.5449 GB, free: 80.59 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02465/0.7866, allocations: 3.305 MB / 0.5481 GB, free: 79.75 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002885/0.787, allocations: 141 kB / 0.5482 GB, free: 79.56 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.743/2.53, allocations: 3.938 kB / 0.5482 GB, free: 79.56 MB / 378.7 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/linux/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)