Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.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.001763/0.001763, allocations: 120.1 kB / 18.49 MB, free: 4.562 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.002393/0.002393, allocations: 215.1 kB / 21.45 MB, free: 1.617 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.602/1.602, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.2021/0.2021, allocations: 38.5 MB / 349.4 MB, free: 2.602 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/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.AC3ph.Precalculation.Z_matrixTrDat3,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat3",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.002048/0.002048, allocations: 59.91 kB / 487.8 MB, free: 22.2 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1258, allocations: 62.42 MB / 0.5374 GB, free: 7.668 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3): time 0.003861/0.1296, allocations: 2.145 MB / 0.5395 GB, free: 5.508 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003645/0.1333, allocations: 2.086 MB / 0.5415 GB, free: 3.41 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.411e-05/0.1333, allocations: 0 / 0.5415 GB, free: 3.41 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000142/0.1335, allocations: 11.91 kB / 0.5415 GB, free: 3.398 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.559e-05/0.1336, allocations: 23.84 kB / 0.5415 GB, free: 3.375 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002376/0.136, allocations: 0.85 MB / 0.5424 GB, free: 2.523 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001604/0.1361, allocations: 79.62 kB / 0.5424 GB, free: 2.445 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.267e-05/0.1362, allocations: 4.172 kB / 0.5424 GB, free: 2.441 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001466/0.1363, allocations: 39.91 kB / 0.5425 GB, free: 2.402 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.494e-05/0.1364, allocations: 55.73 kB / 0.5425 GB, free: 2.348 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.319e-05/0.1364, allocations: 4 kB / 0.5425 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002539/0.139, allocations: 1.614 MB / 0.5441 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.957e-05/0.139, allocations: 43.84 kB / 0.5442 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.94e-05/0.1391, allocations: 59.47 kB / 0.5442 GB, free: 0.625 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002059/0.1412, allocations: 1.383 MB / 0.5456 GB, free: 15.24 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1412, allocations: 0 / 0.5456 GB, free: 15.24 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1412, allocations: 3.938 kB / 0.5456 GB, free: 15.23 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.27e-05/0.1412, allocations: 0 / 0.5456 GB, free: 15.23 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0009005/0.1421, allocations: 0.6161 MB / 0.5462 GB, free: 14.56 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.509e-05/0.1421, allocations: 8.031 kB / 0.5462 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.676e-05/0.1421, allocations: 8.188 kB / 0.5462 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.606e-05/0.1422, allocations: 46.73 kB / 0.5462 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.707e-05/0.1422, allocations: 20.8 kB / 0.5462 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002523/0.1425, allocations: 215.6 kB / 0.5465 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.1425, allocations: 4 kB / 0.5465 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.969e-05/0.1425, allocations: 0 / 0.5465 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002792/0.1428, allocations: 146.5 kB / 0.5466 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.1428, allocations: 0 / 0.5466 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.1428, allocations: 0 / 0.5466 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.1428, allocations: 4 kB / 0.5466 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001403/0.143, allocations: 104.2 kB / 0.5467 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002248/0.1432, allocations: 206.1 kB / 0.5469 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001642/0.1434, allocations: 114.9 kB / 0.547 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001353/0.1435, allocations: 101.2 kB / 0.5471 GB, free: 13.49 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.818e-06/0.1435, allocations: 0 / 0.5471 GB, free: 13.49 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.789e-05/0.1435, allocations: 34.56 kB / 0.5471 GB, free: 13.45 MB / 414.1 MB Notification: Performance of pre-optimization done (n=40): time 9.81e-07/0.1435, allocations: 11.94 kB / 0.5471 GB, free: 13.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=40): time 0.0007282/0.1443, allocations: 491 kB / 0.5476 GB, free: 12.95 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.256e-05/0.1444, allocations: 109.1 kB / 0.5477 GB, free: 12.82 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001945/0.1446, allocations: 170.4 kB / 0.5479 GB, free: 12.64 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.1446, allocations: 25.7 kB / 0.5479 GB, free: 12.61 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.798e-05/0.1446, allocations: 112.8 kB / 0.548 GB, free: 12.5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001362/0.1448, allocations: 134.8 kB / 0.5481 GB, free: 12.37 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.738e-05/0.1449, allocations: 33.7 kB / 0.5482 GB, free: 12.33 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001725/0.145, allocations: 342.8 kB / 0.5485 GB, free: 11.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001246/0.1451, allocations: 99.95 kB / 0.5486 GB, free: 11.89 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001213/0.1453, allocations: 96.94 kB / 0.5487 GB, free: 11.79 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004119/0.1457, allocations: 384.2 kB / 0.5491 GB, free: 11.4 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.1457, allocations: 0 / 0.5491 GB, free: 11.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004202/0.1461, allocations: 339 kB / 0.5494 GB, free: 11.06 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001101/0.1462, allocations: 89.62 kB / 0.5495 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.1462, allocations: 0 / 0.5495 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.1462, allocations: 0 / 0.5495 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.132e-06/0.1462, allocations: 4.062 kB / 0.5495 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.1462, allocations: 0 / 0.5495 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.88e-05/0.1463, allocations: 19.83 kB / 0.5495 GB, free: 10.94 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.615e-05/0.1464, allocations: 11.98 kB / 0.5495 GB, free: 10.93 MB / 414.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.0002403/0.1466, allocations: 232 kB / 0.5497 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.655e-05/0.1466, allocations: 31.84 kB / 0.5497 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.364e-05/0.1467, allocations: 18.59 kB / 0.5498 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.1467, allocations: 0 / 0.5498 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.1467, allocations: 0 / 0.5498 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.1467, allocations: 4 kB / 0.5498 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002162/0.1469, allocations: 237.3 kB / 0.55 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1469, allocations: 0 / 0.55 GB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.369e-06/0.1469, allocations: 7.938 kB / 0.55 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.1469, allocations: 0 / 0.55 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.146e-05/0.1469, allocations: 8 kB / 0.55 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.91e-07/0.1469, allocations: 0 / 0.55 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1469, allocations: 0 / 0.55 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00111/0.148, allocations: 0.92 MB / 0.5509 GB, free: 9.391 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.125e-05/0.1481, allocations: 104.9 kB / 0.551 GB, free: 9.27 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.41e-05/0.1482, allocations: 11.94 kB / 0.551 GB, free: 9.258 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.367e-05/0.1482, allocations: 4 kB / 0.551 GB, free: 9.254 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.543e-05/0.1482, allocations: 8 kB / 0.551 GB, free: 9.246 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-05/0.1483, allocations: 8 kB / 0.551 GB, free: 9.238 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001294/0.1484, allocations: 128.2 kB / 0.5512 GB, free: 9.113 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1484, allocations: 0 / 0.5512 GB, free: 9.113 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001071/0.1495, allocations: 363.3 kB / 0.5515 GB, free: 8.758 MB / 414.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.002496/0.152, allocations: 1.729 MB / 0.5532 GB, free: 6.992 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001028/0.153, allocations: 0.8271 MB / 0.554 GB, free: 6.152 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.153, allocations: 0 / 0.554 GB, free: 6.152 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006786/0.1537, allocations: 0.6085 MB / 0.5546 GB, free: 5.531 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002565/0.1539, allocations: 18.58 kB / 0.5546 GB, free: 5.516 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004477/0.1584, allocations: 3.672 MB / 0.5582 GB, free: 1.75 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004311/0.1588, allocations: 0.7595 MB / 0.5589 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.691e-05/0.1588, allocations: 3.938 kB / 0.5589 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.424e-05/0.1589, allocations: 47.41 kB / 0.559 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of SimCode: time 7.32e-07/0.1589, allocations: 3.938 kB / 0.559 GB, free: 0.9102 MB / 414.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: 3.0796218579635024] Failed to read output from testmodel.py, exit status != 0: 0.1923107149777934 0.20798718399999996 0.063794427 Calling exit ...