Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.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.00176/0.00176, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.001575/0.001575, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.574/1.574, allocations: 230.6 MB / 254.1 MB, free: 15.11 MB / 206.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.1833/0.1833, allocations: 38.51 MB / 348.7 MB, free: 2.699 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.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_matrixTrDat1,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat1",fmuType="me",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.001946/0.001946, allocations: 72.08 kB / 487.1 MB, free: 22.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1247, allocations: 62.41 MB / 0.5367 GB, free: 7.562 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1): time 0.003823/0.1285, allocations: 2.115 MB / 0.5387 GB, free: 5.434 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003395/0.1319, allocations: 2.097 MB / 0.5408 GB, free: 3.328 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.722e-05/0.132, allocations: 4 kB / 0.5408 GB, free: 3.324 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000135/0.1321, allocations: 15.92 kB / 0.5408 GB, free: 3.309 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.519e-05/0.1322, allocations: 23.83 kB / 0.5408 GB, free: 3.285 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002247/0.1345, allocations: 0.8383 MB / 0.5417 GB, free: 2.445 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001438/0.1346, allocations: 79.62 kB / 0.5417 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.199e-05/0.1346, allocations: 4.172 kB / 0.5417 GB, free: 2.363 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001301/0.1348, allocations: 43.84 kB / 0.5418 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.619e-05/0.1349, allocations: 47.81 kB / 0.5418 GB, free: 2.273 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.061e-05/0.1349, allocations: 4 kB / 0.5418 GB, free: 2.27 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002394/0.1373, allocations: 1.614 MB / 0.5434 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.693e-05/0.1373, allocations: 23.92 kB / 0.5434 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.052e-05/0.1374, allocations: 15.81 kB / 0.5434 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001691/0.1391, allocations: 1.34 MB / 0.5447 GB, free: 15.27 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1391, allocations: 0 / 0.5447 GB, free: 15.27 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1391, allocations: 0 / 0.5447 GB, free: 15.27 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.441e-06/0.1391, allocations: 4 kB / 0.5448 GB, free: 15.27 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000761/0.1398, allocations: 0.5307 MB / 0.5453 GB, free: 14.68 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.1399, allocations: 12.03 kB / 0.5453 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.544e-05/0.1399, allocations: 30.75 kB / 0.5453 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.525e-05/0.1399, allocations: 8.891 kB / 0.5453 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002115/0.1402, allocations: 195.2 kB / 0.5455 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.1402, allocations: 0 / 0.5455 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.172e-05/0.1402, allocations: 4 kB / 0.5455 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.1403, allocations: 65.66 kB / 0.5456 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.1403, allocations: 4 kB / 0.5456 GB, free: 14.31 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.1403, allocations: 0 / 0.5456 GB, free: 14.31 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.1404, allocations: 4 kB / 0.5456 GB, free: 14.31 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.846e-05/0.1404, allocations: 31.92 kB / 0.5456 GB, free: 14.28 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001891/0.1406, allocations: 177.5 kB / 0.5458 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.812e-05/0.1407, allocations: 50.5 kB / 0.5458 GB, free: 14 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.739e-05/0.1408, allocations: 36.88 kB / 0.5459 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.624e-06/0.1408, allocations: 0 / 0.5459 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.197e-05/0.1408, allocations: 38.56 kB / 0.5459 GB, free: 13.91 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 8.12e-07/0.1408, allocations: 0 / 0.5459 GB, free: 13.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003847/0.1412, allocations: 195.2 kB / 0.5461 GB, free: 13.71 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.062e-05/0.1413, allocations: 89.11 kB / 0.5462 GB, free: 13.6 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.1414, allocations: 132.6 kB / 0.5463 GB, free: 13.46 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.1414, allocations: 29.69 kB / 0.5463 GB, free: 13.43 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.554e-05/0.1415, allocations: 92.14 kB / 0.5464 GB, free: 13.34 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.396e-05/0.1415, allocations: 39.64 kB / 0.5465 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-05/0.1416, allocations: 21.75 kB / 0.5465 GB, free: 13.27 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.1417, allocations: 326.8 kB / 0.5468 GB, free: 12.94 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.587e-05/0.1418, allocations: 32.2 kB / 0.5468 GB, free: 12.91 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.453e-05/0.1418, allocations: 39.91 kB / 0.5469 GB, free: 12.87 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001785/0.142, allocations: 160.2 kB / 0.547 GB, free: 12.7 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.142, allocations: 0 / 0.547 GB, free: 12.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002151/0.1422, allocations: 159.2 kB / 0.5472 GB, free: 12.53 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.063e-05/0.1423, allocations: 49.69 kB / 0.5472 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.1423, allocations: 4.062 kB / 0.5472 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.1423, allocations: 0 / 0.5472 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.072e-06/0.1423, allocations: 0 / 0.5472 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.1423, allocations: 0 / 0.5472 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.421e-05/0.1424, allocations: 15.83 kB / 0.5472 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.425e-05/0.1424, allocations: 7.984 kB / 0.5472 GB, free: 12.45 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.0001623/0.1426, allocations: 168.1 kB / 0.5474 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.307e-05/0.1426, allocations: 11.95 kB / 0.5474 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.389e-05/0.1426, allocations: 4.719 kB / 0.5474 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.1426, allocations: 4 kB / 0.5474 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1426, allocations: 0 / 0.5474 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.1426, allocations: 11.88 kB / 0.5474 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001664/0.1428, allocations: 177.6 kB / 0.5476 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1428, allocations: 0 / 0.5476 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.91e-07/0.1428, allocations: 0 / 0.5476 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1428, allocations: 0 / 0.5476 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/0.1428, allocations: 4 kB / 0.5476 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.1428, allocations: 0 / 0.5476 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1428, allocations: 0 / 0.5476 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003953/0.1432, allocations: 298.5 kB / 0.5479 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.487e-05/0.1432, allocations: 89 kB / 0.548 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.924e-05/0.1433, allocations: 0 / 0.548 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.14e-05/0.1433, allocations: 4 kB / 0.548 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.539e-05/0.1433, allocations: 7.984 kB / 0.548 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.502e-05/0.1433, allocations: 7.938 kB / 0.548 GB, free: 11.57 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.95e-05/0.1434, allocations: 99.27 kB / 0.5481 GB, free: 11.47 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1434, allocations: 0 / 0.5481 GB, free: 11.47 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008806/0.1443, allocations: 323.4 kB / 0.5484 GB, free: 11.16 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.001621/0.1459, allocations: 1.086 MB / 0.5494 GB, free: 10.04 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003583/0.1463, allocations: 247.2 kB / 0.5497 GB, free: 9.781 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.1463, allocations: 4 kB / 0.5497 GB, free: 9.777 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001804/0.1465, allocations: 159.3 kB / 0.5498 GB, free: 9.609 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002557/0.1467, allocations: 7.938 kB / 0.5498 GB, free: 9.602 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002281/0.149, allocations: 1.957 MB / 0.5518 GB, free: 7.559 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004051/0.1494, allocations: 0.708 MB / 0.5524 GB, free: 6.824 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.488e-05/0.1494, allocations: 0 / 0.5524 GB, free: 6.824 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.052e-05/0.1495, allocations: 23.47 kB / 0.5525 GB, free: 6.801 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1495, allocations: 0 / 0.5525 GB, free: 6.801 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: 2.8854842910077423] Failed to read output from testmodel.py, exit status != 0: 0.18089458599570207 0.19573134399999995 0.053650918000000006 Calling exit ...