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.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.001262/0.001262, allocations: 124.7 kB / 17.79 MB, free: 5.246 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.001274/0.001274, allocations: 186.9 kB / 20.73 MB, free: 2.316 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.438/1.438, allocations: 225.6 MB / 249.1 MB, free: 3.637 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.1826/0.1826, allocations: 38.5 MB / 342.5 MB, free: 8.055 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.AC1ph_DC.Elementary.LoadAC,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_LoadAC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_LoadAC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 68.64 kB / 478.6 MB, free: 33.63 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1091, allocations: 61.24 MB / 0.5272 GB, free: 1.391 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC): time 0.007479/0.1166, allocations: 4.24 MB / 0.5314 GB, free: 13.13 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001725/0.1183, allocations: 0.9354 MB / 0.5323 GB, free: 12.19 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000169/0.1185, allocations: 11.94 kB / 0.5323 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002165/0.1187, allocations: 51.44 kB / 0.5323 GB, free: 12.13 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000624/0.1193, allocations: 214.8 kB / 0.5325 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002371/0.1195, allocations: 99.8 kB / 0.5326 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006079/0.1201, allocations: 486.3 kB / 0.5331 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002439/0.1204, allocations: 108.1 kB / 0.5332 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003634/0.1207, allocations: 219.1 kB / 0.5334 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004305/0.1212, allocations: 259 kB / 0.5336 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.511e-05/0.1212, allocations: 28 kB / 0.5337 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.212e-05/0.1213, allocations: 28 kB / 0.5337 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001568/0.1215, allocations: 127.6 kB / 0.5338 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002051/0.1217, allocations: 175.1 kB / 0.534 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004724/0.1221, allocations: 386.3 kB / 0.5344 GB, free: 10.04 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1221, allocations: 0 / 0.5344 GB, free: 10.04 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1221, allocations: 0 / 0.5344 GB, free: 10.04 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.106e-05/0.1221, allocations: 0 / 0.5344 GB, free: 10.04 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001455/0.1236, allocations: 0.7059 MB / 0.535 GB, free: 9.281 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.1236, allocations: 15.89 kB / 0.5351 GB, free: 9.266 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.711e-05/0.1237, allocations: 62.72 kB / 0.5351 GB, free: 9.195 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.058e-05/0.1238, allocations: 40.7 kB / 0.5352 GB, free: 9.156 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008851/0.1247, allocations: 407.1 kB / 0.5356 GB, free: 8.719 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.39e-05/0.1247, allocations: 24.56 kB / 0.5356 GB, free: 8.695 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.446e-05/0.1248, allocations: 27.94 kB / 0.5356 GB, free: 8.668 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005656/0.1253, allocations: 352.8 kB / 0.5359 GB, free: 8.293 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.845e-05/0.1253, allocations: 7.938 kB / 0.5359 GB, free: 8.285 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.75e-05/0.1254, allocations: 8 kB / 0.536 GB, free: 8.277 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.1254, allocations: 12 kB / 0.536 GB, free: 8.266 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004435/0.1258, allocations: 258 kB / 0.5362 GB, free: 8.012 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00198/0.1278, allocations: 1.435 MB / 0.5376 GB, free: 6.484 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002949/0.1281, allocations: 153.1 kB / 0.5378 GB, free: 6.316 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002052/0.1283, allocations: 81.67 kB / 0.5378 GB, free: 6.23 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.44e-05/0.1283, allocations: 4 kB / 0.5378 GB, free: 6.227 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.26e-05/0.1284, allocations: 38.5 kB / 0.5379 GB, free: 6.18 MB / 398.1 MB Notification: Performance of pre-optimization done (n=15): time 1.533e-06/0.1284, allocations: 0 / 0.5379 GB, free: 6.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001308/0.1297, allocations: 0.6749 MB / 0.5385 GB, free: 5.453 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.231e-05/0.1297, allocations: 89.03 kB / 0.5386 GB, free: 5.348 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003542/0.1301, allocations: 300.5 kB / 0.5389 GB, free: 5.047 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.381e-05/0.1301, allocations: 29.7 kB / 0.5389 GB, free: 5.012 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00025/0.1304, allocations: 220 kB / 0.5391 GB, free: 4.793 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.148e-05/0.1304, allocations: 59.53 kB / 0.5392 GB, free: 4.734 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.329e-05/0.1305, allocations: 57.78 kB / 0.5393 GB, free: 4.672 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002146/0.1307, allocations: 334.8 kB / 0.5396 GB, free: 4.336 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001245/0.1309, allocations: 71.89 kB / 0.5396 GB, free: 4.266 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002075/0.1311, allocations: 180.7 kB / 0.5398 GB, free: 4.043 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003587/0.1314, allocations: 260.6 kB / 0.5401 GB, free: 3.742 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.1314, allocations: 4 kB / 0.5401 GB, free: 3.738 MB / 398.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004586/0.1319, allocations: 284 kB / 0.5403 GB, free: 3.457 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.1319, allocations: 7.984 kB / 0.5403 GB, free: 3.449 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.884e-06/0.1319, allocations: 4.438 kB / 0.5404 GB, free: 3.445 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.1319, allocations: 8 kB / 0.5404 GB, free: 3.438 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002885/0.1322, allocations: 55.91 kB / 0.5404 GB, free: 3.383 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.1322, allocations: 8 kB / 0.5404 GB, free: 3.375 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001786/0.1324, allocations: 19.88 kB / 0.5404 GB, free: 3.355 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.723e-05/0.1324, allocations: 19.98 kB / 0.5405 GB, free: 3.336 MB / 398.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.0001841/0.1326, allocations: 161.8 kB / 0.5406 GB, free: 3.168 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.838e-05/0.1327, allocations: 27.8 kB / 0.5406 GB, free: 3.141 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005088/0.1332, allocations: 235.5 kB / 0.5409 GB, free: 2.902 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.1332, allocations: 8 kB / 0.5409 GB, free: 2.895 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.1332, allocations: 0 / 0.5409 GB, free: 2.895 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.565e-06/0.1332, allocations: 3.984 kB / 0.5409 GB, free: 2.891 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009854/0.1342, allocations: 0.6264 MB / 0.5415 GB, free: 2.207 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1342, allocations: 0 / 0.5415 GB, free: 2.207 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002128/0.1344, allocations: 35.98 kB / 0.5415 GB, free: 2.172 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.613e-06/0.1344, allocations: 4 kB / 0.5415 GB, free: 2.168 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.607e-05/0.1344, allocations: 3.984 kB / 0.5415 GB, free: 2.164 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.1344, allocations: 32 / 0.5415 GB, free: 2.164 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1344, allocations: 8 kB / 0.5415 GB, free: 2.156 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000662/0.1351, allocations: 427.3 kB / 0.5419 GB, free: 1.719 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001535/0.1353, allocations: 108.9 kB / 0.542 GB, free: 1.594 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.304e-05/0.1353, allocations: 4 kB / 0.5421 GB, free: 1.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001738/0.1355, allocations: 11.98 kB / 0.5421 GB, free: 1.578 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.825e-05/0.1355, allocations: 16.05 kB / 0.5421 GB, free: 1.562 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.83e-05/0.1355, allocations: 11.94 kB / 0.5421 GB, free: 1.551 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000245/0.1358, allocations: 215 kB / 0.5423 GB, free: 1.344 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1358, allocations: 0 / 0.5423 GB, free: 1.344 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003892/0.1362, allocations: 60 kB / 0.5424 GB, free: 1.285 MB / 398.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.0009566/0.1371, allocations: 0.9482 MB / 0.5433 GB, free: 312 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003855/0.1375, allocations: 179.7 kB / 0.5434 GB, free: 132 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.885e-06/0.1375, allocations: 4.875 kB / 0.5435 GB, free: 128 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000149/0.1377, allocations: 87.83 kB / 0.5435 GB, free: 40 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005887/0.1382, allocations: 76.8 kB / 0.5436 GB, free: 15.96 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004024/0.1423, allocations: 2.903 MB / 0.5464 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005448/0.1428, allocations: 0.8065 MB / 0.5472 GB, free: 12.05 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002236/0.143, allocations: 50.95 kB / 0.5473 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001899/0.1432, allocations: 111.4 kB / 0.5474 GB, free: 11.89 MB / 414.1 MB Notification: Performance of SimCode: time 1.082e-06/0.1432, allocations: 0 / 0.5474 GB, free: 11.89 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03054/0.1738, allocations: 6.05 MB / 0.5533 GB, free: 5.949 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.308/8.482, allocations: 3.906 kB / 0.5533 GB, free: 5.949 MB / 414.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.316711822990328] Failed to read output from testmodel.py, exit status != 0: 8.556495786178857 8.584911398 8.457611266 Calling exit ...