Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.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.001411/0.001411, allocations: 123.9 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.00133/0.00133, allocations: 185.2 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.452/1.452, allocations: 225.6 MB / 249.1 MB, free: 3.625 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.185/0.185, allocations: 38.51 MB / 342.5 MB, free: 8.031 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.ImpedanceOneTerm,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_ImpedanceOneTerm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_ImpedanceOneTerm",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 68.16 kB / 478.6 MB, free: 33.61 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1099, allocations: 61.25 MB / 0.5272 GB, free: 1.383 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm): time 0.00632/0.1162, allocations: 4.094 MB / 0.5312 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001641/0.1179, allocations: 0.9233 MB / 0.5321 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001525/0.118, allocations: 15.88 kB / 0.5321 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001797/0.1182, allocations: 43.56 kB / 0.5322 GB, free: 12.28 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005122/0.1187, allocations: 187 kB / 0.5323 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002184/0.1189, allocations: 91.81 kB / 0.5324 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004577/0.1194, allocations: 402.5 kB / 0.5328 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002262/0.1196, allocations: 94.2 kB / 0.5329 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002691/0.1199, allocations: 183.2 kB / 0.5331 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003446/0.1202, allocations: 183.3 kB / 0.5333 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.047e-05/0.1203, allocations: 20 kB / 0.5333 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.614e-05/0.1203, allocations: 20 kB / 0.5333 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001273/0.1204, allocations: 99.64 kB / 0.5334 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001614/0.1206, allocations: 143.3 kB / 0.5335 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003782/0.121, allocations: 286.7 kB / 0.5338 GB, free: 10.6 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.121, allocations: 4 kB / 0.5338 GB, free: 10.6 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.121, allocations: 0 / 0.5338 GB, free: 10.6 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.079e-05/0.121, allocations: 0 / 0.5338 GB, free: 10.6 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001095/0.1221, allocations: 0.593 MB / 0.5344 GB, free: 9.953 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.1221, allocations: 19.89 kB / 0.5344 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.361e-05/0.1222, allocations: 62.72 kB / 0.5345 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.173e-05/0.1223, allocations: 32.7 kB / 0.5345 GB, free: 9.832 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006016/0.1229, allocations: 339.2 kB / 0.5348 GB, free: 9.457 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.578e-05/0.1229, allocations: 24.36 kB / 0.5348 GB, free: 9.434 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.899e-05/0.1229, allocations: 20 kB / 0.5349 GB, free: 9.414 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004783/0.1234, allocations: 294.8 kB / 0.5351 GB, free: 9.094 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.1234, allocations: 0 / 0.5351 GB, free: 9.094 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.701e-05/0.1234, allocations: 19.94 kB / 0.5352 GB, free: 9.074 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.253e-05/0.1235, allocations: 4 kB / 0.5352 GB, free: 9.07 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003316/0.1238, allocations: 184.9 kB / 0.5353 GB, free: 8.891 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001725/0.1255, allocations: 1.228 MB / 0.5365 GB, free: 7.578 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003688/0.1259, allocations: 105.2 kB / 0.5366 GB, free: 7.457 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.57e-05/0.126, allocations: 41.77 kB / 0.5367 GB, free: 7.41 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.442e-05/0.126, allocations: 4 kB / 0.5367 GB, free: 7.406 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.936e-05/0.126, allocations: 38.5 kB / 0.5367 GB, free: 7.359 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.853e-06/0.126, allocations: 0 / 0.5367 GB, free: 7.359 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009894/0.127, allocations: 493.2 kB / 0.5372 GB, free: 6.824 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.106e-05/0.1271, allocations: 77.11 kB / 0.5373 GB, free: 6.73 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002728/0.1274, allocations: 254.6 kB / 0.5375 GB, free: 6.477 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.208e-05/0.1274, allocations: 29.7 kB / 0.5375 GB, free: 6.441 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001704/0.1276, allocations: 208 kB / 0.5377 GB, free: 6.234 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.019e-05/0.1276, allocations: 35.69 kB / 0.5378 GB, free: 6.199 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.137e-05/0.1277, allocations: 41.7 kB / 0.5378 GB, free: 6.152 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001785/0.1279, allocations: 334.8 kB / 0.5381 GB, free: 5.816 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.077e-05/0.1279, allocations: 39.84 kB / 0.5382 GB, free: 5.777 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001615/0.1281, allocations: 135.8 kB / 0.5383 GB, free: 5.602 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002667/0.1284, allocations: 188.7 kB / 0.5385 GB, free: 5.371 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1284, allocations: 0 / 0.5385 GB, free: 5.371 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003358/0.1287, allocations: 218.2 kB / 0.5387 GB, free: 5.152 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.1287, allocations: 4 kB / 0.5387 GB, free: 5.148 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.1287, allocations: 4 kB / 0.5387 GB, free: 5.145 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.853e-05/0.1288, allocations: 4 kB / 0.5387 GB, free: 5.141 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001718/0.1289, allocations: 47.91 kB / 0.5387 GB, free: 5.094 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.1289, allocations: 4.094 kB / 0.5387 GB, free: 5.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001319/0.1291, allocations: 15.88 kB / 0.5388 GB, free: 5.074 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.558e-05/0.1291, allocations: 8 kB / 0.5388 GB, free: 5.066 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 (24): * Single equations (assignments): 24 * 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.0001707/0.1293, allocations: 157.7 kB / 0.5389 GB, free: 4.902 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.924e-05/0.1293, allocations: 31.88 kB / 0.5389 GB, free: 4.871 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002642/0.1296, allocations: 135.2 kB / 0.5391 GB, free: 4.73 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.1296, allocations: 4 kB / 0.5391 GB, free: 4.727 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.1296, allocations: 0 / 0.5391 GB, free: 4.727 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.1296, allocations: 3.938 kB / 0.5391 GB, free: 4.723 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006429/0.1302, allocations: 483.2 kB / 0.5395 GB, free: 4.191 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1302, allocations: 0 / 0.5395 GB, free: 4.191 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001318/0.1304, allocations: 20 kB / 0.5396 GB, free: 4.172 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.1304, allocations: 8.016 kB / 0.5396 GB, free: 4.164 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.1304, allocations: 3.938 kB / 0.5396 GB, free: 4.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.117e-06/0.1304, allocations: 4 kB / 0.5396 GB, free: 4.156 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1304, allocations: 0 / 0.5396 GB, free: 4.156 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003824/0.1308, allocations: 277 kB / 0.5398 GB, free: 3.863 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.227e-05/0.1309, allocations: 97 kB / 0.5399 GB, free: 3.75 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.525e-05/0.1309, allocations: 15.98 kB / 0.5399 GB, free: 3.734 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.131, allocations: 7.984 kB / 0.54 GB, free: 3.727 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.324e-05/0.131, allocations: 8 kB / 0.54 GB, free: 3.719 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.131, allocations: 4 kB / 0.54 GB, free: 3.715 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001836/0.1312, allocations: 178 kB / 0.5401 GB, free: 3.539 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1312, allocations: 0 / 0.5401 GB, free: 3.539 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003213/0.1315, allocations: 44 kB / 0.5402 GB, free: 3.496 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (ind.i) * 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): 12 * 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.0007409/0.1323, allocations: 0.8116 MB / 0.541 GB, free: 2.652 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002384/0.1325, allocations: 108.7 kB / 0.5411 GB, free: 2.547 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1325, allocations: 4 kB / 0.5411 GB, free: 2.543 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.961e-05/0.1326, allocations: 39.92 kB / 0.5411 GB, free: 2.504 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005112/0.1331, allocations: 63.02 kB / 0.5412 GB, free: 2.449 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002973/0.1361, allocations: 2.445 MB / 0.5436 GB, free: 15.83 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004812/0.1366, allocations: 0.7675 MB / 0.5443 GB, free: 15.04 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001232/0.1367, allocations: 34.27 kB / 0.5443 GB, free: 15 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001367/0.1368, allocations: 87.39 kB / 0.5444 GB, free: 14.91 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1368, allocations: 0 / 0.5444 GB, free: 14.91 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03467/0.1715, allocations: 4.642 MB / 0.549 GB, free: 10.39 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.321/8.492, allocations: 5.391 kB / 0.549 GB, free: 10.38 MB / 414.1 MB " [Timeout remaining time 651] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_ImpedanceOneTerm_fmu --startTime=0 --stopTime=0.2 --stepSize=0.00027027 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_ImpedanceOneTerm.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.209314754232764] Failed to read output from testmodel.py, exit status != 0: 8.566470208577812 8.594584866 8.468524138 Calling exit ...