Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001444/0.001444, allocations: 123.9 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 185.2 kB / 20.73 MB, free: 2.332 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 225.6 MB / 249.1 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1827/0.1827, allocations: 38.5 MB / 342.5 MB, free: 8.039 MB / 270.1 MB " [Timeout remaining time 180] 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.GeneratorTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_GeneratorTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.GeneratorTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_GeneratorTest",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002732/0.002732, allocations: 69.78 kB / 478.6 MB, free: 33.59 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.111, allocations: 61.26 MB / 0.5272 GB, free: 1.387 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.GeneratorTest): time 0.005133/0.1161, allocations: 3.342 MB / 0.5305 GB, free: 14.03 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001903/0.118, allocations: 1.236 MB / 0.5317 GB, free: 12.79 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001413/0.1181, allocations: 4 kB / 0.5317 GB, free: 12.78 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006619/0.1188, allocations: 167.2 kB / 0.5318 GB, free: 12.62 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004472/0.1192, allocations: 179.2 kB / 0.532 GB, free: 12.44 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003573/0.1196, allocations: 127.6 kB / 0.5321 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004249/0.12, allocations: 287 kB / 0.5324 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002805/0.1203, allocations: 102.2 kB / 0.5325 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002281/0.1205, allocations: 119.5 kB / 0.5326 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002058/0.1207, allocations: 123.5 kB / 0.5327 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.621e-05/0.1208, allocations: 12 kB / 0.5327 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004027/0.1212, allocations: 235.4 kB / 0.533 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.456e-05/0.1213, allocations: 63.75 kB / 0.533 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001148/0.1214, allocations: 99.47 kB / 0.5331 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004706/0.1218, allocations: 282.9 kB / 0.5334 GB, free: 11.02 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1218, allocations: 0 / 0.5334 GB, free: 11.02 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1218, allocations: 0 / 0.5334 GB, free: 11.02 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.1219, allocations: 3.938 kB / 0.5334 GB, free: 11.01 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0008025/0.1227, allocations: 0.5101 MB / 0.5339 GB, free: 10.45 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.1227, allocations: 11.89 kB / 0.5339 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.859e-05/0.1228, allocations: 62.73 kB / 0.534 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007232/0.1235, allocations: 76.72 kB / 0.534 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004107/0.1239, allocations: 267.9 kB / 0.5343 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.1239, allocations: 16.64 kB / 0.5343 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.897e-05/0.124, allocations: 16.36 kB / 0.5343 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004709/0.1244, allocations: 275.7 kB / 0.5346 GB, free: 9.672 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.1245, allocations: 0 / 0.5346 GB, free: 9.672 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.289e-05/0.1245, allocations: 8 kB / 0.5346 GB, free: 9.664 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.986e-05/0.1245, allocations: 12.33 kB / 0.5346 GB, free: 9.652 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003792/0.1249, allocations: 224.3 kB / 0.5348 GB, free: 9.434 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001735/0.1266, allocations: 1.214 MB / 0.536 GB, free: 8.117 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002499/0.1269, allocations: 125.3 kB / 0.5361 GB, free: 7.977 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.698e-05/0.127, allocations: 49.7 kB / 0.5362 GB, free: 7.922 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.127, allocations: 0 / 0.5362 GB, free: 7.922 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.041e-05/0.127, allocations: 42.55 kB / 0.5362 GB, free: 7.871 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.382e-06/0.127, allocations: 0 / 0.5362 GB, free: 7.871 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003775/0.1274, allocations: 169.3 kB / 0.5364 GB, free: 7.699 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.705e-05/0.1275, allocations: 85.11 kB / 0.5365 GB, free: 7.598 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002301/0.1277, allocations: 199 kB / 0.5366 GB, free: 7.395 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.1277, allocations: 29.69 kB / 0.5367 GB, free: 7.359 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001308/0.1279, allocations: 156.1 kB / 0.5368 GB, free: 7.203 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.186e-05/0.1279, allocations: 43.58 kB / 0.5369 GB, free: 7.16 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.122e-05/0.128, allocations: 53.78 kB / 0.5369 GB, free: 7.102 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.1281, allocations: 326.8 kB / 0.5372 GB, free: 6.773 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.459e-05/0.1282, allocations: 43.97 kB / 0.5373 GB, free: 6.73 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001414/0.1284, allocations: 121.3 kB / 0.5374 GB, free: 6.578 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002388/0.1286, allocations: 178.2 kB / 0.5376 GB, free: 6.367 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.1286, allocations: 4 kB / 0.5376 GB, free: 6.363 MB / 398.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003246/0.1289, allocations: 209.8 kB / 0.5378 GB, free: 6.152 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.1289, allocations: 8 kB / 0.5378 GB, free: 6.145 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.129, allocations: 4 kB / 0.5378 GB, free: 6.141 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.172e-05/0.129, allocations: 7.938 kB / 0.5378 GB, free: 6.133 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000256/0.1292, allocations: 51.91 kB / 0.5378 GB, free: 6.082 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001149/0.1304, allocations: 1.416 MB / 0.5392 GB, free: 4.527 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001195/0.1305, allocations: 23.84 kB / 0.5392 GB, free: 4.504 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.793e-05/0.1305, allocations: 8 kB / 0.5392 GB, free: 4.496 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001495/0.1307, allocations: 149.7 kB / 0.5394 GB, free: 4.34 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.267e-05/0.1307, allocations: 15.91 kB / 0.5394 GB, free: 4.324 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002473/0.131, allocations: 142.9 kB / 0.5395 GB, free: 4.176 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.131, allocations: 4 kB / 0.5395 GB, free: 4.172 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.065e-06/0.131, allocations: 4 kB / 0.5395 GB, free: 4.168 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.131, allocations: 0 / 0.5395 GB, free: 4.168 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007109/0.1317, allocations: 499.9 kB / 0.54 GB, free: 3.617 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1317, allocations: 8 kB / 0.54 GB, free: 3.609 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001782/0.1319, allocations: 31.97 kB / 0.5401 GB, free: 3.578 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.1319, allocations: 0 / 0.5401 GB, free: 3.578 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.64e-05/0.1319, allocations: 8 kB / 0.5401 GB, free: 3.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001045/0.1329, allocations: 1.42 MB / 0.5415 GB, free: 2.012 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.1329, allocations: 4.031 kB / 0.5415 GB, free: 2.008 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000353/0.1333, allocations: 310 kB / 0.5418 GB, free: 1.68 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.376e-05/0.1334, allocations: 96.91 kB / 0.5418 GB, free: 1.566 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.845e-05/0.1334, allocations: 8 kB / 0.5419 GB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.1335, allocations: 3.984 kB / 0.5419 GB, free: 1.555 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.111e-05/0.1335, allocations: 4 kB / 0.5419 GB, free: 1.551 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-05/0.1335, allocations: 11.98 kB / 0.5419 GB, free: 1.539 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001362/0.1337, allocations: 148.6 kB / 0.542 GB, free: 1.395 MB / 398.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1337, allocations: 64 / 0.542 GB, free: 1.395 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003375/0.134, allocations: 44 kB / 0.5421 GB, free: 1.352 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (inertia.w,constantTorque.phi) * 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 (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006796/0.1347, allocations: 0.8398 MB / 0.5429 GB, free: 488 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003264/0.135, allocations: 119.8 kB / 0.543 GB, free: 368 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.135, allocations: 4 kB / 0.543 GB, free: 364 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001506/0.1352, allocations: 51.91 kB / 0.543 GB, free: 312 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003947/0.1356, allocations: 32.84 kB / 0.5431 GB, free: 280 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002953/0.1385, allocations: 2.364 MB / 0.5454 GB, free: 13.75 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00051/0.139, allocations: 0.7398 MB / 0.5461 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001043/0.1391, allocations: 37.52 kB / 0.5461 GB, free: 12.95 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.49e-05/0.1392, allocations: 55.42 kB / 0.5462 GB, free: 12.89 MB / 414.1 MB Notification: Performance of SimCode: time 1.082e-06/0.1392, allocations: 0 / 0.5462 GB, free: 12.89 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02981/0.169, allocations: 3.835 MB / 0.5499 GB, free: 9.176 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/11.9, allocations: 10.72 kB / 0.55 GB, free: 9.168 MB / 414.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Test_GeneratorTest_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Test_GeneratorTest.fmu > PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.648592088837177] Failed to read output from testmodel.py, exit status != 0: 11.996200422290713 12.022815336 11.896242618 Calling exit ...