Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.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.001305/0.001305, allocations: 123.9 kB / 17.79 MB, free: 5.266 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.001586/0.001586, allocations: 185.2 kB / 20.73 MB, free: 2.332 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.516/1.516, allocations: 225.6 MB / 249.1 MB, free: 3.605 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.1886/0.1886, allocations: 38.5 MB / 342.5 MB, free: 7.996 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.AC3ph.Precalculation.Z_matrixTrDat0,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 77.36 kB / 478.6 MB, free: 33.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1099, allocations: 61.24 MB / 0.5272 GB, free: 1.336 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0): time 0.003749/0.1136, allocations: 2.124 MB / 0.5293 GB, free: 15.2 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00318/0.1168, allocations: 2.054 MB / 0.5313 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.328e-05/0.1168, allocations: 0 / 0.5313 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001893/0.117, allocations: 15.92 kB / 0.5313 GB, free: 13.12 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.82e-05/0.1171, allocations: 27.83 kB / 0.5313 GB, free: 13.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002081/0.1192, allocations: 0.8305 MB / 0.5322 GB, free: 12.26 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000138/0.1193, allocations: 79.69 kB / 0.5322 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.988e-05/0.1194, allocations: 4.188 kB / 0.5322 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.809e-05/0.1195, allocations: 35.84 kB / 0.5323 GB, free: 12.14 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.719e-05/0.1195, allocations: 47.8 kB / 0.5323 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.037e-05/0.1195, allocations: 0 / 0.5323 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002226/0.1218, allocations: 1.61 MB / 0.5339 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.818e-05/0.1218, allocations: 15.94 kB / 0.5339 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.674e-05/0.1219, allocations: 19.81 kB / 0.5339 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001522/0.1234, allocations: 1.317 MB / 0.5352 GB, free: 9.129 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.1234, allocations: 4 kB / 0.5352 GB, free: 9.125 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1234, allocations: 0 / 0.5352 GB, free: 9.125 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.099e-05/0.1234, allocations: 4 kB / 0.5352 GB, free: 9.121 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006563/0.124, allocations: 0.5035 MB / 0.5357 GB, free: 8.562 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.1241, allocations: 11.89 kB / 0.5357 GB, free: 8.551 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.665e-05/0.1241, allocations: 34.75 kB / 0.5357 GB, free: 8.508 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.705e-05/0.1242, allocations: 8.891 kB / 0.5358 GB, free: 8.5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002006/0.1244, allocations: 191.2 kB / 0.5359 GB, free: 8.273 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.939e-06/0.1244, allocations: 0 / 0.5359 GB, free: 8.273 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.595e-05/0.1244, allocations: 4 kB / 0.5359 GB, free: 8.27 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.1245, allocations: 57.61 kB / 0.536 GB, free: 8.207 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.605e-06/0.1245, allocations: 3.938 kB / 0.536 GB, free: 8.203 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.1245, allocations: 4 kB / 0.536 GB, free: 8.199 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/0.1246, allocations: 0 / 0.536 GB, free: 8.199 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.653e-05/0.1246, allocations: 23.98 kB / 0.536 GB, free: 8.176 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001817/0.1248, allocations: 161.6 kB / 0.5362 GB, free: 7.969 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.692e-05/0.1249, allocations: 42.56 kB / 0.5362 GB, free: 7.918 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.248e-05/0.1249, allocations: 28.88 kB / 0.5362 GB, free: 7.887 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.027e-06/0.1249, allocations: 0 / 0.5362 GB, free: 7.887 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.032e-05/0.1249, allocations: 34.5 kB / 0.5363 GB, free: 7.844 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 9.52e-07/0.1249, allocations: 0 / 0.5363 GB, free: 7.844 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002885/0.1252, allocations: 155.4 kB / 0.5364 GB, free: 7.68 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.515e-05/0.1253, allocations: 81.11 kB / 0.5365 GB, free: 7.582 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.1254, allocations: 133.9 kB / 0.5366 GB, free: 7.441 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.1254, allocations: 25.7 kB / 0.5367 GB, free: 7.41 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.173e-05/0.1255, allocations: 88.14 kB / 0.5367 GB, free: 7.32 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.088e-05/0.1255, allocations: 27.73 kB / 0.5368 GB, free: 7.293 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.801e-05/0.1256, allocations: 21.72 kB / 0.5368 GB, free: 7.266 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.1257, allocations: 326.7 kB / 0.5371 GB, free: 6.938 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.812e-05/0.1257, allocations: 19.98 kB / 0.5371 GB, free: 6.918 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.315e-05/0.1258, allocations: 23.94 kB / 0.5371 GB, free: 6.895 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001331/0.1259, allocations: 136.5 kB / 0.5373 GB, free: 6.746 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1259, allocations: 0 / 0.5373 GB, free: 6.746 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000168/0.1261, allocations: 127.3 kB / 0.5374 GB, free: 6.609 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.602e-05/0.1261, allocations: 41.69 kB / 0.5374 GB, free: 6.562 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.1261, allocations: 0 / 0.5374 GB, free: 6.562 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.1262, allocations: 0 / 0.5374 GB, free: 6.562 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.62e-07/0.1262, allocations: 0 / 0.5374 GB, free: 6.562 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.1262, allocations: 0 / 0.5374 GB, free: 6.562 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.442e-05/0.1262, allocations: 4 kB / 0.5374 GB, free: 6.559 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.046e-05/0.1262, allocations: 7.938 kB / 0.5374 GB, free: 6.551 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * 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.0001543/0.1264, allocations: 159.5 kB / 0.5376 GB, free: 6.379 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.798e-05/0.1264, allocations: 11.95 kB / 0.5376 GB, free: 6.367 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.91e-05/0.1264, allocations: 8.359 kB / 0.5376 GB, free: 6.359 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.1264, allocations: 0 / 0.5376 GB, free: 6.359 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1264, allocations: 3.938 kB / 0.5376 GB, free: 6.355 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.1264, allocations: 0 / 0.5376 GB, free: 6.355 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001825/0.1266, allocations: 185.5 kB / 0.5378 GB, free: 6.125 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1266, allocations: 0 / 0.5378 GB, free: 6.125 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.11e-07/0.1266, allocations: 0 / 0.5378 GB, free: 6.125 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1266, allocations: 4 kB / 0.5378 GB, free: 6.121 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/0.1266, allocations: 8 kB / 0.5378 GB, free: 6.113 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1266, allocations: 0 / 0.5378 GB, free: 6.113 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1266, allocations: 0 / 0.5378 GB, free: 6.113 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002819/0.1269, allocations: 222.6 kB / 0.538 GB, free: 5.871 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.265e-05/0.127, allocations: 85.06 kB / 0.5381 GB, free: 5.77 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.719e-05/0.127, allocations: 0 / 0.5381 GB, free: 5.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.384e-05/0.127, allocations: 4 kB / 0.5381 GB, free: 5.766 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.254e-05/0.127, allocations: 8.031 kB / 0.5381 GB, free: 5.758 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.979e-06/0.127, allocations: 4 kB / 0.5381 GB, free: 5.754 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.018e-05/0.1271, allocations: 102.8 kB / 0.5382 GB, free: 5.656 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1271, allocations: 0 / 0.5382 GB, free: 5.656 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007539/0.1279, allocations: 319.4 kB / 0.5385 GB, free: 5.344 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.001336/0.1292, allocations: 1.012 MB / 0.5395 GB, free: 4.297 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002568/0.1295, allocations: 179.2 kB / 0.5397 GB, free: 4.109 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1295, allocations: 0 / 0.5397 GB, free: 4.109 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001259/0.1296, allocations: 119.4 kB / 0.5398 GB, free: 3.98 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002353/0.1298, allocations: 14.12 kB / 0.5398 GB, free: 3.969 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001845/0.1317, allocations: 1.695 MB / 0.5415 GB, free: 2.188 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003431/0.132, allocations: 0.6963 MB / 0.5421 GB, free: 1.465 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 1.05e-05/0.132, allocations: 3.938 kB / 0.5421 GB, free: 1.461 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.23e-05/0.1321, allocations: 19.44 kB / 0.5422 GB, free: 1.441 MB / 398.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1321, allocations: 0 / 0.5422 GB, free: 1.441 MB / 398.1 MB [CodegenCFunctions.tpl:5632:13-5632:13:writable] Error: Template error: This should have been handled in indexed assign and should not have gotten here. eigenvalues[:,2]. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.9086533123627305] Failed to read output from testmodel.py, exit status != 0: 0.160600489936769 0.179187183 0.051892490000000006 Calling exit ...