Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.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.001392/0.001392, allocations: 112.9 kB / 18.41 MB, free: 4.637 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.001448/0.001448, allocations: 190.9 kB / 21.35 MB, free: 1.703 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.499/1.499, allocations: 222.9 MB / 247 MB, free: 4.336 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.3127/0.3127, allocations: 38 MB / 337.2 MB, free: 13.01 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: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=7500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=7500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001923, allocations: 77.08 kB / 467.5 MB, free: 27.53 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1037, allocations: 58.07 MB / 0.5133 GB, free: 9.742 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer): time 0.007584/0.1113, allocations: 5.502 MB / 0.5187 GB, free: 4.211 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00253/0.1139, allocations: 1.36 MB / 0.52 GB, free: 2.848 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002827/0.1142, allocations: 19.88 kB / 0.52 GB, free: 2.828 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004598/0.1146, allocations: 135 kB / 0.5201 GB, free: 2.695 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008848/0.1156, allocations: 378.1 kB / 0.5205 GB, free: 2.324 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003609/0.1159, allocations: 151.7 kB / 0.5206 GB, free: 2.176 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009294/0.1169, allocations: 0.7826 MB / 0.5214 GB, free: 1.391 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003548/0.1173, allocations: 225.6 kB / 0.5216 GB, free: 1.164 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005126/0.1178, allocations: 342.5 kB / 0.5219 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006661/0.1185, allocations: 402.6 kB / 0.5223 GB, free: 444 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.922e-05/0.1186, allocations: 40 kB / 0.5224 GB, free: 404 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.1187, allocations: 40 kB / 0.5224 GB, free: 364 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002302/0.1189, allocations: 199.5 kB / 0.5226 GB, free: 164 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003385/0.1193, allocations: 282.6 kB / 0.5229 GB, free: 15.88 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000773/0.12, allocations: 0.5833 MB / 0.5234 GB, free: 15.3 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.12, allocations: 4 kB / 0.5234 GB, free: 15.29 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1201, allocations: 0 / 0.5234 GB, free: 15.29 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.949e-06/0.1201, allocations: 0 / 0.5234 GB, free: 15.29 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001728/0.1218, allocations: 0.8954 MB / 0.5243 GB, free: 14.34 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/0.1219, allocations: 15.89 kB / 0.5243 GB, free: 14.32 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001249/0.122, allocations: 64.52 kB / 0.5244 GB, free: 14.26 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009464/0.123, allocations: 0.5145 MB / 0.5249 GB, free: 13.71 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.862e-05/0.123, allocations: 36.94 kB / 0.5249 GB, free: 13.67 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.371e-05/0.1231, allocations: 40 kB / 0.525 GB, free: 13.63 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008574/0.124, allocations: 0.5351 MB / 0.5255 GB, free: 13.07 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/0.124, allocations: 0 / 0.5255 GB, free: 13.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.736e-05/0.124, allocations: 24 kB / 0.5255 GB, free: 13.04 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-05/0.1241, allocations: 24.98 kB / 0.5255 GB, free: 13.02 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006767/0.1248, allocations: 387.6 kB / 0.5259 GB, free: 12.64 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002763/0.1276, allocations: 1.924 MB / 0.5278 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006718/0.1283, allocations: 337.3 kB / 0.5281 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003466/0.1286, allocations: 181.7 kB / 0.5283 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.051e-05/0.1287, allocations: 0 / 0.5283 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004167/0.1291, allocations: 292.1 kB / 0.5286 GB, free: 9.75 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 1.412e-06/0.1291, allocations: 4 kB / 0.5286 GB, free: 9.746 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002076/0.1312, allocations: 1.196 MB / 0.5297 GB, free: 8.477 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001147/0.1313, allocations: 158.2 kB / 0.5299 GB, free: 8.285 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000479/0.1318, allocations: 409.7 kB / 0.5303 GB, free: 7.879 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.278e-05/0.1318, allocations: 29.7 kB / 0.5303 GB, free: 7.844 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002813/0.1321, allocations: 300.2 kB / 0.5306 GB, free: 7.547 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001122/0.1323, allocations: 127.1 kB / 0.5307 GB, free: 7.422 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000149/0.1324, allocations: 90.2 kB / 0.5308 GB, free: 7.328 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002064/0.1326, allocations: 358.8 kB / 0.5311 GB, free: 6.969 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002298/0.1329, allocations: 117.1 kB / 0.5312 GB, free: 6.852 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003591/0.1332, allocations: 290 kB / 0.5315 GB, free: 6.496 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006493/0.1339, allocations: 481.3 kB / 0.532 GB, free: 5.941 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.1339, allocations: 0 / 0.532 GB, free: 5.941 MB / 398.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0008477/0.1348, allocations: 0.5256 MB / 0.5325 GB, free: 5.402 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.629e-05/0.1348, allocations: 33.7 kB / 0.5325 GB, free: 5.363 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.1348, allocations: 4.688 kB / 0.5325 GB, free: 5.359 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.903e-05/0.1349, allocations: 8 kB / 0.5325 GB, free: 5.352 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000442/0.1353, allocations: 115.8 kB / 0.5326 GB, free: 5.238 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.684e-05/0.1353, allocations: 15.92 kB / 0.5327 GB, free: 5.223 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002812/0.1356, allocations: 23.98 kB / 0.5327 GB, free: 5.199 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.766e-05/0.1357, allocations: 31.98 kB / 0.5327 GB, free: 5.168 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,tapChanger.tap_2,$PRE.tapChanger.tap_2,tapChanger.tap_1,$PRE.tapChanger.tap_1,tapChanger.cnt_2,$PRE.tapChanger.cnt_2,tapChanger.cnt_1,$PRE.tapChanger.cnt_1,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 1 * 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.0003325/0.136, allocations: 251.3 kB / 0.533 GB, free: 4.906 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001127/0.1362, allocations: 51.61 kB / 0.533 GB, free: 4.855 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007688/0.1369, allocations: 463.4 kB / 0.5334 GB, free: 4.391 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/0.137, allocations: 4 kB / 0.5334 GB, free: 4.387 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/0.137, allocations: 4 kB / 0.5335 GB, free: 4.383 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.353e-06/0.137, allocations: 3.984 kB / 0.5335 GB, free: 4.379 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00147/0.1385, allocations: 0.9704 MB / 0.5344 GB, free: 3.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.1385, allocations: 0 / 0.5344 GB, free: 3.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003156/0.1388, allocations: 72.02 kB / 0.5345 GB, free: 3.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.586e-06/0.1388, allocations: 4 kB / 0.5345 GB, free: 3.266 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.842e-05/0.1389, allocations: 12 kB / 0.5345 GB, free: 3.254 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-06/0.1389, allocations: 4 kB / 0.5345 GB, free: 3.25 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.1389, allocations: 3.938 kB / 0.5345 GB, free: 3.246 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009891/0.1399, allocations: 0.7077 MB / 0.5352 GB, free: 2.504 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001865/0.1401, allocations: 144.8 kB / 0.5353 GB, free: 2.344 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.263e-05/0.1401, allocations: 12 kB / 0.5353 GB, free: 2.332 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002183/0.1404, allocations: 15.98 kB / 0.5354 GB, free: 2.316 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.721e-05/0.1404, allocations: 27.91 kB / 0.5354 GB, free: 2.289 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.925e-05/0.1405, allocations: 31.89 kB / 0.5354 GB, free: 2.258 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003081/0.1408, allocations: 275.1 kB / 0.5357 GB, free: 1.992 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1408, allocations: 64 / 0.5357 GB, free: 1.992 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004703/0.1413, allocations: 100 kB / 0.5358 GB, free: 1.895 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (trafo.i1) * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,tapChanger.tap_1,tapChanger.tap_2,tapChanger.cnt_1,tapChanger.cnt_2,system.initime) * Number of discrete states: 6 (tapChanger.tap_2,tapChanger.cnt_2,$whenCondition2,tapChanger.tap_1,tapChanger.cnt_1,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 1 * 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.0001531/0.1415, allocations: 119.1 kB / 0.5359 GB, free: 1.77 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006548/0.1421, allocations: 395.9 kB / 0.5363 GB, free: 1.371 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1421, allocations: 384 / 0.5363 GB, free: 1.371 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003492/0.1425, allocations: 267.2 kB / 0.5365 GB, free: 1.098 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006259/0.1431, allocations: 103 kB / 0.5366 GB, free: 1.004 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001815/0.145, allocations: 1.043 MB / 0.5376 GB, free: 15.91 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005685/0.1455, allocations: 0.8781 MB / 0.5385 GB, free: 15.01 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000113/0.1457, allocations: 43.44 kB / 0.5385 GB, free: 14.97 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1457, allocations: 0 / 0.5385 GB, free: 14.97 MB / 414.1 MB Notification: Performance of Templates: time 0.009656/0.1553, allocations: 5.932 MB / 0.5443 GB, free: 9.051 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.930618194048293] Failed to read output from testmodel.py, exit status != 0: 0.1618617509957403 0.17674342 0.053866342000000005 Calling exit ...