Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.001019/0.001019, allocations: 110.4 kB / 20.43 MB, free: 4.578 MB / 13.93 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.0012/0.0012, allocations: 217.5 kB / 23.73 MB, free: 2.137 MB / 13.93 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.016/1.016, allocations: 230.6 MB / 257.5 MB, free: 9.609 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.1396/0.1396, allocations: 38.6 MB / 352.5 MB, free: 11.39 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat1",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat1",fmuType="me_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.002177/0.002177, allocations: 84.09 kB / 494.1 MB, free: 3.785 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1099, allocations: 62.48 MB / 0.5435 GB, free: 5.18 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1): time 0.003362/0.1133, allocations: 2.184 MB / 0.5457 GB, free: 2.973 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002425/0.1157, allocations: 1.899 MB / 0.5475 GB, free: 1.062 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.689e-05/0.1157, allocations: 3.938 kB / 0.5475 GB, free: 1.059 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001378/0.1159, allocations: 11.91 kB / 0.5475 GB, free: 1.047 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.511e-05/0.116, allocations: 23.84 kB / 0.5476 GB, free: 1.023 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002069/0.118, allocations: 0.9611 MB / 0.5485 GB, free: 64 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001414/0.1182, allocations: 75.75 kB / 0.5486 GB, free: 15.98 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.647e-05/0.1182, allocations: 8.172 kB / 0.5486 GB, free: 15.98 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001295/0.1184, allocations: 43.78 kB / 0.5486 GB, free: 15.94 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.951e-05/0.1184, allocations: 43.81 kB / 0.5487 GB, free: 15.89 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 9.829e-06/0.1184, allocations: 0 / 0.5487 GB, free: 15.89 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002496/0.1209, allocations: 1.898 MB / 0.5505 GB, free: 13.99 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 5.262e-05/0.121, allocations: 23.92 kB / 0.5505 GB, free: 13.97 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 4.439e-05/0.121, allocations: 19.86 kB / 0.5506 GB, free: 13.95 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001508/0.1225, allocations: 1.329 MB / 0.5519 GB, free: 12.62 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1225, allocations: 0 / 0.5519 GB, free: 12.62 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1225, allocations: 0 / 0.5519 GB, free: 12.62 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.912e-06/0.1226, allocations: 0 / 0.5519 GB, free: 12.62 MB / 426.7 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.0006189/0.1232, allocations: 470.2 kB / 0.5523 GB, free: 12.12 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.1232, allocations: 12.03 kB / 0.5523 GB, free: 12.11 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.935e-05/0.1232, allocations: 30.75 kB / 0.5524 GB, free: 12.07 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.484e-05/0.1233, allocations: 8.891 kB / 0.5524 GB, free: 12.06 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/0.1234, allocations: 133.4 kB / 0.5525 GB, free: 11.91 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.277e-06/0.1234, allocations: 0 / 0.5525 GB, free: 11.91 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/0.1235, allocations: 7.984 kB / 0.5525 GB, free: 11.9 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004084/0.1239, allocations: 115.3 kB / 0.5526 GB, free: 11.77 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.1239, allocations: 0 / 0.5526 GB, free: 11.77 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.1239, allocations: 7.984 kB / 0.5526 GB, free: 11.77 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.1239, allocations: 0 / 0.5526 GB, free: 11.77 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.268e-05/0.124, allocations: 81.61 kB / 0.5527 GB, free: 11.68 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001347/0.1241, allocations: 144.6 kB / 0.5528 GB, free: 11.5 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.502e-05/0.1242, allocations: 92.25 kB / 0.5529 GB, free: 11.39 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.653e-05/0.1243, allocations: 86.56 kB / 0.553 GB, free: 11.3 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.353e-06/0.1243, allocations: 3.938 kB / 0.553 GB, free: 11.29 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/0.1243, allocations: 34.56 kB / 0.553 GB, free: 11.25 MB / 426.7 MB Notification: Performance of pre-optimization done (n=12): time 8.52e-07/0.1243, allocations: 0 / 0.553 GB, free: 11.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003234/0.1246, allocations: 298.6 kB / 0.5533 GB, free: 10.93 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.946e-05/0.1246, allocations: 85.11 kB / 0.5534 GB, free: 10.83 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.208e-05/0.1247, allocations: 133.8 kB / 0.5535 GB, free: 10.69 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.1247, allocations: 25.7 kB / 0.5536 GB, free: 10.66 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.622e-05/0.1248, allocations: 92.36 kB / 0.5536 GB, free: 10.57 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.371e-05/0.1248, allocations: 43.58 kB / 0.5537 GB, free: 10.52 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.703e-05/0.1249, allocations: 29.64 kB / 0.5537 GB, free: 10.49 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.198e-05/0.125, allocations: 322.8 kB / 0.554 GB, free: 10.16 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.317e-05/0.125, allocations: 73.67 kB / 0.5541 GB, free: 10.09 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.596e-05/0.1251, allocations: 85.7 kB / 0.5542 GB, free: 9.996 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001453/0.1253, allocations: 184.1 kB / 0.5543 GB, free: 9.801 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1253, allocations: 0 / 0.5543 GB, free: 9.801 MB / 426.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002026/0.1255, allocations: 213 kB / 0.5546 GB, free: 9.574 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.678e-05/0.1255, allocations: 41.69 kB / 0.5546 GB, free: 9.527 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.1255, allocations: 0 / 0.5546 GB, free: 9.527 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.1255, allocations: 4 kB / 0.5546 GB, free: 9.523 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.334e-06/0.1255, allocations: 3.984 kB / 0.5546 GB, free: 9.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.1255, allocations: 0 / 0.5546 GB, free: 9.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.614e-05/0.1256, allocations: 7.891 kB / 0.5546 GB, free: 9.512 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.882e-05/0.1256, allocations: 4.062 kB / 0.5546 GB, free: 9.508 MB / 426.7 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.0001035/0.1257, allocations: 175.5 kB / 0.5548 GB, free: 9.32 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.472e-05/0.1257, allocations: 7.953 kB / 0.5548 GB, free: 9.312 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.65e-05/0.1257, allocations: 8.719 kB / 0.5548 GB, free: 9.301 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.1257, allocations: 0 / 0.5548 GB, free: 9.301 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.1257, allocations: 3.984 kB / 0.5548 GB, free: 9.297 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.1257, allocations: 3.938 kB / 0.5548 GB, free: 9.293 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.901e-05/0.1258, allocations: 140.8 kB / 0.5549 GB, free: 9.113 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.1258, allocations: 0 / 0.5549 GB, free: 9.113 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.076e-06/0.1258, allocations: 7.984 kB / 0.5549 GB, free: 9.105 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.1258, allocations: 0 / 0.5549 GB, free: 9.105 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.1259, allocations: 8 kB / 0.5549 GB, free: 9.098 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.1259, allocations: 3.984 kB / 0.555 GB, free: 9.094 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.1259, allocations: 3.938 kB / 0.555 GB, free: 9.09 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002941/0.1262, allocations: 332.6 kB / 0.5553 GB, free: 8.734 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.419e-05/0.1262, allocations: 11.89 kB / 0.5553 GB, free: 8.723 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.626e-05/0.1262, allocations: 4 kB / 0.5553 GB, free: 8.719 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.327e-05/0.1262, allocations: 0 / 0.5553 GB, free: 8.719 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.696e-05/0.1262, allocations: 8 kB / 0.5553 GB, free: 8.711 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.378e-06/0.1262, allocations: 7.938 kB / 0.5553 GB, free: 8.703 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.971e-05/0.1263, allocations: 110.2 kB / 0.5554 GB, free: 8.598 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1263, allocations: 4.031 kB / 0.5554 GB, free: 8.594 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007745/0.1271, allocations: 323.3 kB / 0.5557 GB, free: 8.277 MB / 426.7 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.007179/0.1342, allocations: 1.121 MB / 0.5568 GB, free: 7.117 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003066/0.1345, allocations: 306.7 kB / 0.5571 GB, free: 6.793 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1345, allocations: 0 / 0.5571 GB, free: 6.793 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001308/0.1347, allocations: 193 kB / 0.5573 GB, free: 6.586 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002093/0.1349, allocations: 20 kB / 0.5573 GB, free: 6.566 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007888/0.1428, allocations: 2.185 MB / 0.5594 GB, free: 4.262 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.432e-05/0.1428, allocations: 91.58 kB / 0.5595 GB, free: 4.152 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.67e-05/0.1429, allocations: 3.984 kB / 0.5595 GB, free: 4.148 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.746e-05/0.1429, allocations: 19.44 kB / 0.5596 GB, free: 4.129 MB / 426.7 MB Notification: Performance of SimCode: time 7.41e-07/0.1429, allocations: 0 / 0.5596 GB, free: 4.129 MB / 426.7 MB [CodegenCFunctions.tpl:5658:13-5658: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.4761226382106543]