Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 113 kB / 18.49 MB, free: 4.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001553/0.001553, allocations: 217.4 kB / 21.46 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.492/1.492, allocations: 230.6 MB / 254.8 MB, free: 15.08 MB / 206.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.1875/0.1875, allocations: 38.51 MB / 349.4 MB, free: 2.668 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_LoadAC",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_LoadAC",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001969/0.001969, allocations: 67.89 kB / 487.8 MB, free: 22.06 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.105, allocations: 62.42 MB / 0.5374 GB, free: 7.535 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC): time 0.006048/0.111, allocations: 4.25 MB / 0.5415 GB, free: 3.262 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001672/0.1127, allocations: 0.9781 MB / 0.5425 GB, free: 2.281 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001524/0.1129, allocations: 15.88 kB / 0.5425 GB, free: 2.266 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001951/0.1131, allocations: 59.42 kB / 0.5425 GB, free: 2.207 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000519/0.1136, allocations: 198.9 kB / 0.5427 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002195/0.1138, allocations: 103.9 kB / 0.5428 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005664/0.1144, allocations: 490.2 kB / 0.5433 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002328/0.1146, allocations: 107.6 kB / 0.5434 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004029/0.115, allocations: 231.1 kB / 0.5436 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003987/0.1154, allocations: 251.1 kB / 0.5439 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.577e-05/0.1155, allocations: 28 kB / 0.5439 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.882e-05/0.1156, allocations: 31.98 kB / 0.5439 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000158/0.1157, allocations: 131.6 kB / 0.544 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002031/0.1159, allocations: 175.1 kB / 0.5442 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004816/0.1164, allocations: 386.4 kB / 0.5446 GB, free: 116 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1164, allocations: 0 / 0.5446 GB, free: 116 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1164, allocations: 0 / 0.5446 GB, free: 116 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.193e-05/0.1164, allocations: 0 / 0.5446 GB, free: 116 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001386/0.1178, allocations: 0.7136 MB / 0.5453 GB, free: 15.35 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.1178, allocations: 12.03 kB / 0.5453 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.491e-05/0.1179, allocations: 4.75 kB / 0.5453 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.285e-05/0.1179, allocations: 62.73 kB / 0.5454 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001558/0.1181, allocations: 48.64 kB / 0.5454 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006857/0.1188, allocations: 403 kB / 0.5458 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.894e-05/0.1188, allocations: 16.56 kB / 0.5458 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.623e-05/0.1189, allocations: 32 kB / 0.5458 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005751/0.1194, allocations: 360.7 kB / 0.5462 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.1194, allocations: 0 / 0.5462 GB, free: 14.35 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.146e-05/0.1195, allocations: 12 kB / 0.5462 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.819e-06/0.1195, allocations: 8 kB / 0.5462 GB, free: 14.33 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004439/0.1199, allocations: 265.9 kB / 0.5464 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001923/0.1218, allocations: 1.442 MB / 0.5479 GB, free: 12.54 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002976/0.1221, allocations: 149 kB / 0.548 GB, free: 12.37 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001334/0.1223, allocations: 77.73 kB / 0.5481 GB, free: 12.29 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.778e-05/0.1223, allocations: 7.922 kB / 0.5481 GB, free: 12.28 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/0.1223, allocations: 34.56 kB / 0.5481 GB, free: 12.24 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 1.713e-06/0.1223, allocations: 4 kB / 0.5481 GB, free: 12.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.001317/0.1237, allocations: 0.6906 MB / 0.5488 GB, free: 11.5 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.135e-05/0.1237, allocations: 77.11 kB / 0.5489 GB, free: 11.4 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003484/0.1241, allocations: 300.5 kB / 0.5491 GB, free: 11.1 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.627e-05/0.1241, allocations: 29.7 kB / 0.5492 GB, free: 11.06 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001665/0.1243, allocations: 220 kB / 0.5494 GB, free: 10.84 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.627e-05/0.1243, allocations: 55.53 kB / 0.5494 GB, free: 10.79 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.1244, allocations: 53.64 kB / 0.5495 GB, free: 10.73 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001925/0.1246, allocations: 342.8 kB / 0.5498 GB, free: 10.39 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001296/0.1247, allocations: 67.95 kB / 0.5499 GB, free: 10.32 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000212/0.125, allocations: 173.3 kB / 0.55 GB, free: 10.11 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000367/0.1253, allocations: 252.6 kB / 0.5503 GB, free: 9.812 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1253, allocations: 4 kB / 0.5503 GB, free: 9.809 MB / 414.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004601/0.1258, allocations: 291.3 kB / 0.5506 GB, free: 9.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.1258, allocations: 8 kB / 0.5506 GB, free: 9.512 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.1258, allocations: 4 kB / 0.5506 GB, free: 9.508 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.1258, allocations: 4.438 kB / 0.5506 GB, free: 9.504 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000268/0.1261, allocations: 63.89 kB / 0.5506 GB, free: 9.441 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.1261, allocations: 7.938 kB / 0.5507 GB, free: 9.434 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001739/0.1263, allocations: 15.98 kB / 0.5507 GB, free: 9.418 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.212e-05/0.1263, allocations: 16 kB / 0.5507 GB, free: 9.402 MB / 414.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 (29): * Single equations (assignments): 29 * 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.0001942/0.1265, allocations: 170.3 kB / 0.5508 GB, free: 9.227 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.671e-05/0.1266, allocations: 31.75 kB / 0.5509 GB, free: 9.195 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004335/0.127, allocations: 238 kB / 0.5511 GB, free: 8.957 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.127, allocations: 4 kB / 0.5511 GB, free: 8.953 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.127, allocations: 4 kB / 0.5511 GB, free: 8.949 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.127, allocations: 0 / 0.5511 GB, free: 8.949 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008594/0.1279, allocations: 0.6201 MB / 0.5517 GB, free: 8.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.1279, allocations: 7.938 kB / 0.5517 GB, free: 8.262 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002171/0.1281, allocations: 39.92 kB / 0.5518 GB, free: 8.223 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.1281, allocations: 0 / 0.5518 GB, free: 8.223 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.1281, allocations: 4 kB / 0.5518 GB, free: 8.219 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.1281, allocations: 0 / 0.5518 GB, free: 8.219 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1281, allocations: 0 / 0.5518 GB, free: 8.219 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000583/0.1287, allocations: 432.8 kB / 0.5522 GB, free: 7.773 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.39e-05/0.1288, allocations: 101 kB / 0.5523 GB, free: 7.656 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.131e-05/0.1288, allocations: 8 kB / 0.5523 GB, free: 7.648 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001687/0.129, allocations: 15.92 kB / 0.5523 GB, free: 7.633 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.708e-05/0.129, allocations: 11.98 kB / 0.5523 GB, free: 7.621 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/0.1291, allocations: 8 kB / 0.5523 GB, free: 7.613 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000237/0.1293, allocations: 215 kB / 0.5525 GB, free: 7.406 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1293, allocations: 0 / 0.5525 GB, free: 7.406 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003508/0.1296, allocations: 56 kB / 0.5526 GB, free: 7.352 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (zLoadAC.psi) * 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 (20): * Single equations (assignments): 19 * 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.000899/0.1305, allocations: 0.9588 MB / 0.5535 GB, free: 6.363 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000349/0.1309, allocations: 187.7 kB / 0.5537 GB, free: 6.18 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1309, allocations: 0 / 0.5537 GB, free: 6.18 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001481/0.131, allocations: 83.8 kB / 0.5538 GB, free: 6.102 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000531/0.1316, allocations: 80.59 kB / 0.5538 GB, free: 6.02 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003677/0.1352, allocations: 2.905 MB / 0.5567 GB, free: 2.934 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004862/0.1357, allocations: 0.8065 MB / 0.5575 GB, free: 2.102 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001745/0.1359, allocations: 50.94 kB / 0.5575 GB, free: 2.055 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000182/0.1361, allocations: 111.4 kB / 0.5576 GB, free: 1.945 MB / 414.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1361, allocations: 0 / 0.5576 GB, free: 1.945 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02642/0.1625, allocations: 6.075 MB / 0.5636 GB, free: 11.99 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.808/8.971, allocations: 15.94 kB / 0.5636 GB, free: 11.98 MB / 430.1 MB " [Timeout remaining time 651] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_LoadAC_fmu --startTime=0 --stopTime=1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_LoadAC.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.930722871038597] Failed to read output from testmodel.py, exit status != 0: 9.103448097012006 9.13217573 9.010775049 Calling exit ...