Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.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.00132/0.00132, allocations: 125.2 kB / 17.79 MB, free: 5.121 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.001329/0.001329, allocations: 190.9 kB / 20.73 MB, free: 2.184 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.431/1.431, allocations: 225.6 MB / 249.1 MB, free: 3.633 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.1857/0.1857, allocations: 38.51 MB / 342.5 MB, free: 8.027 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.Introductory.ReferenceInertial,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_ReferenceInertial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.ReferenceInertial,fileNamePrefix="PowerSystems_PowerSystems_Examples_Introductory_ReferenceInertial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 72.86 kB / 478.6 MB, free: 33.7 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09306/0.09501, allocations: 61.25 MB / 0.5272 GB, free: 1.391 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceInertial): time 0.006187/0.1012, allocations: 4.456 MB / 0.5315 GB, free: 12.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002429/0.1036, allocations: 1.437 MB / 0.5329 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001875/0.1038, allocations: 15.88 kB / 0.533 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001086/0.1049, allocations: 390 kB / 0.5333 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005331/0.1054, allocations: 218.9 kB / 0.5335 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006444/0.1061, allocations: 243.4 kB / 0.5338 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006645/0.1067, allocations: 0.5417 MB / 0.5343 GB, free: 10.08 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003858/0.1071, allocations: 213.1 kB / 0.5345 GB, free: 9.867 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003615/0.1075, allocations: 255 kB / 0.5348 GB, free: 9.617 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004727/0.108, allocations: 311 kB / 0.535 GB, free: 9.312 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.66e-05/0.108, allocations: 32 kB / 0.5351 GB, free: 9.281 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003036/0.1083, allocations: 147.8 kB / 0.5352 GB, free: 9.137 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002497/0.1086, allocations: 235.4 kB / 0.5354 GB, free: 8.906 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002531/0.1088, allocations: 230.8 kB / 0.5357 GB, free: 8.68 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006949/0.1095, allocations: 0.5643 MB / 0.5362 GB, free: 8.113 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1095, allocations: 0 / 0.5362 GB, free: 8.113 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1095, allocations: 0 / 0.5362 GB, free: 8.113 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.839e-06/0.1095, allocations: 4 kB / 0.5362 GB, free: 8.109 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: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.001327/0.1109, allocations: 0.746 MB / 0.5369 GB, free: 7.312 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.1109, allocations: 11.89 kB / 0.537 GB, free: 7.301 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001075/0.111, allocations: 86.69 kB / 0.537 GB, free: 7.207 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005344/0.1115, allocations: 80.61 kB / 0.5371 GB, free: 7.129 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007803/0.1123, allocations: 419.4 kB / 0.5375 GB, free: 6.676 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.057e-05/0.1124, allocations: 33.38 kB / 0.5376 GB, free: 6.641 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001286/0.1125, allocations: 43.94 kB / 0.5376 GB, free: 6.598 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009517/0.1135, allocations: 0.6248 MB / 0.5382 GB, free: 5.914 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.157e-05/0.1135, allocations: 3.938 kB / 0.5382 GB, free: 5.91 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.193e-05/0.1135, allocations: 16 kB / 0.5382 GB, free: 5.895 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001211/0.1136, allocations: 32.98 kB / 0.5383 GB, free: 5.859 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007947/0.1144, allocations: 487.5 kB / 0.5387 GB, free: 5.383 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003539/0.118, allocations: 2.888 MB / 0.5415 GB, free: 2.344 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003804/0.1184, allocations: 217 kB / 0.5417 GB, free: 2.113 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002177/0.1186, allocations: 133.7 kB / 0.5419 GB, free: 1.977 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.248e-05/0.1186, allocations: 8 kB / 0.5419 GB, free: 1.969 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.67e-05/0.1186, allocations: 38.44 kB / 0.5419 GB, free: 1.922 MB / 398.1 MB Notification: Performance of pre-optimization done (n=27): time 4.438e-06/0.1186, allocations: 4 kB / 0.5419 GB, free: 1.918 MB / 398.1 MB Notification: Performance of matching and sorting (n=28): time 0.001642/0.1203, allocations: 0.9727 MB / 0.5429 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.012e-05/0.1203, allocations: 85.09 kB / 0.543 GB, free: 0.793 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00035/0.1207, allocations: 324.4 kB / 0.5433 GB, free: 480 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.998e-05/0.1207, allocations: 33.7 kB / 0.5433 GB, free: 440 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001937/0.1209, allocations: 279.9 kB / 0.5436 GB, free: 152 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.181e-05/0.121, allocations: 115.2 kB / 0.5437 GB, free: 36 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001524/0.1212, allocations: 102.1 kB / 0.5438 GB, free: 15.93 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.1213, allocations: 346.8 kB / 0.5441 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000234/0.1216, allocations: 145 kB / 0.5442 GB, free: 15.44 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003984/0.122, allocations: 347.3 kB / 0.5446 GB, free: 15.01 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006771/0.1226, allocations: 0.5209 MB / 0.5451 GB, free: 14.39 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.91e-06/0.1226, allocations: 4 kB / 0.5451 GB, free: 14.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008406/0.1235, allocations: 0.5211 MB / 0.5456 GB, free: 13.86 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.1235, allocations: 12 kB / 0.5456 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.1235, allocations: 8 kB / 0.5456 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.1235, allocations: 8 kB / 0.5456 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004366/0.124, allocations: 119.8 kB / 0.5457 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.738e-05/0.124, allocations: 15.92 kB / 0.5457 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002571/0.1242, allocations: 27.94 kB / 0.5458 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.721e-05/0.1243, allocations: 24 kB / 0.5458 GB, free: 13.65 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (58): * Single equations (assignments): 58 * 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.0002466/0.1245, allocations: 217.5 kB / 0.546 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.59e-05/0.1246, allocations: 35.81 kB / 0.546 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006359/0.1252, allocations: 361.6 kB / 0.5464 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.1252, allocations: 4 kB / 0.5464 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.1252, allocations: 0 / 0.5464 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.1252, allocations: 0 / 0.5464 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0015/0.1267, allocations: 0.884 MB / 0.5472 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.1267, allocations: 0 / 0.5472 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003264/0.1271, allocations: 67.91 kB / 0.5473 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.1271, allocations: 0 / 0.5473 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.015e-05/0.1271, allocations: 15.92 kB / 0.5473 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.079e-06/0.1271, allocations: 7.938 kB / 0.5473 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.1271, allocations: 3.984 kB / 0.5473 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008311/0.1279, allocations: 0.5898 MB / 0.5479 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001246/0.1281, allocations: 108.8 kB / 0.548 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.481e-05/0.1281, allocations: 11.94 kB / 0.548 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001863/0.1283, allocations: 16.03 kB / 0.548 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.459e-05/0.1283, allocations: 23.97 kB / 0.5481 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.312e-05/0.1284, allocations: 12 kB / 0.5481 GB, free: 11.18 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002435/0.1286, allocations: 223 kB / 0.5483 GB, free: 10.96 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1286, allocations: 0 / 0.5483 GB, free: 10.96 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004815/0.1291, allocations: 92 kB / 0.5484 GB, free: 10.88 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (load_dq0.i[1],load_dq0.i[2],load_dq0.i[3]) * 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 (31): * Single equations (assignments): 30 * 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.001156/0.1303, allocations: 1.138 MB / 0.5495 GB, free: 9.699 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000603/0.1309, allocations: 357.1 kB / 0.5498 GB, free: 9.352 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.1309, allocations: 3.938 kB / 0.5498 GB, free: 9.348 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002254/0.1311, allocations: 131.8 kB / 0.55 GB, free: 9.219 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000515/0.1316, allocations: 66.45 kB / 0.55 GB, free: 9.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005186/0.1368, allocations: 3.979 MB / 0.5539 GB, free: 4.898 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005436/0.1373, allocations: 0.8621 MB / 0.5548 GB, free: 4.012 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003518/0.1377, allocations: 135.1 kB / 0.5549 GB, free: 3.879 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002073/0.1379, allocations: 139.4 kB / 0.555 GB, free: 3.742 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1379, allocations: 0 / 0.555 GB, free: 3.742 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03267/0.1706, allocations: 7.174 MB / 0.562 GB, free: 12.67 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.561/8.732, allocations: 21.95 kB / 0.562 GB, free: 12.65 MB / 430.1 MB " [Timeout remaining time 651] (rm -f PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Introductory_ReferenceInertial_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Introductory_ReferenceInertial.fmu > PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.429114955943078] Failed to read output from testmodel.py, exit status != 0: 8.802815886214375 8.817858673 8.705386715 Calling exit ...