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.001616/0.001616, allocations: 112.2 kB / 20.44 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.001736/0.001736, 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.033/1.033, allocations: 230.6 MB / 257.5 MB, free: 9.633 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.1872/0.1872, allocations: 38.59 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_matrixTrDat3,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat3",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat3",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.001598/0.001598, allocations: 79.83 kB / 494.1 MB, free: 3.797 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1324, allocations: 62.49 MB / 0.5435 GB, free: 5.195 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3): time 0.002861/0.1353, allocations: 2.191 MB / 0.5457 GB, free: 2.977 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002302/0.1376, allocations: 1.895 MB / 0.5475 GB, free: 1.07 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.844e-05/0.1376, allocations: 0 / 0.5475 GB, free: 1.07 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001223/0.1377, allocations: 15.91 kB / 0.5475 GB, free: 1.055 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.157e-05/0.1378, allocations: 27.84 kB / 0.5476 GB, free: 1.027 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001801/0.1396, allocations: 0.955 MB / 0.5485 GB, free: 72 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001277/0.1397, allocations: 75.73 kB / 0.5486 GB, free: 15.99 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.287e-05/0.1398, allocations: 8.172 kB / 0.5486 GB, free: 15.98 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001313/0.1399, allocations: 43.78 kB / 0.5486 GB, free: 15.95 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.482e-05/0.14, allocations: 55.75 kB / 0.5487 GB, free: 15.89 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.159e-05/0.14, allocations: 0 / 0.5487 GB, free: 15.89 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002272/0.1423, allocations: 1.902 MB / 0.5505 GB, free: 13.98 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 5.918e-05/0.1424, allocations: 43.83 kB / 0.5506 GB, free: 13.94 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 5.041e-05/0.1424, allocations: 43.62 kB / 0.5506 GB, free: 13.9 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001484/0.1439, allocations: 1.387 MB / 0.552 GB, free: 12.51 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1439, allocations: 0 / 0.552 GB, free: 12.51 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1439, allocations: 0 / 0.552 GB, free: 12.51 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.1439, allocations: 0 / 0.552 GB, free: 12.51 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0006536/0.1446, allocations: 0.5446 MB / 0.5525 GB, free: 11.93 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.1446, allocations: 12.03 kB / 0.5525 GB, free: 11.91 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.379e-05/0.1446, allocations: 46.67 kB / 0.5526 GB, free: 11.86 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.725e-05/0.1447, allocations: 28.78 kB / 0.5526 GB, free: 11.83 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001453/0.1448, allocations: 158.1 kB / 0.5527 GB, free: 11.65 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.346e-06/0.1448, allocations: 4 kB / 0.5527 GB, free: 11.65 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.166e-06/0.1448, allocations: 0 / 0.5527 GB, free: 11.65 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002168/0.1451, allocations: 228.3 kB / 0.553 GB, free: 11.41 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.1451, allocations: 0 / 0.553 GB, free: 11.41 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.876e-06/0.1451, allocations: 0 / 0.553 GB, free: 11.41 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.1451, allocations: 3.938 kB / 0.553 GB, free: 11.41 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001249/0.1452, allocations: 190 kB / 0.5532 GB, free: 11.22 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001293/0.1453, allocations: 173.2 kB / 0.5533 GB, free: 11.01 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003567/0.1457, allocations: 212.5 kB / 0.5535 GB, free: 10.79 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001199/0.1458, allocations: 194.8 kB / 0.5537 GB, free: 10.59 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.552e-06/0.1458, allocations: 0 / 0.5537 GB, free: 10.59 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.467e-05/0.1458, allocations: 38.56 kB / 0.5537 GB, free: 10.54 MB / 426.7 MB Notification: Performance of pre-optimization done (n=40): time 9.42e-07/0.1458, allocations: 0 / 0.5537 GB, free: 10.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=40): time 0.000549/0.1464, allocations: 0.7013 MB / 0.5544 GB, free: 9.812 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.218e-05/0.1464, allocations: 109.1 kB / 0.5545 GB, free: 9.688 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.1465, allocations: 170.3 kB / 0.5547 GB, free: 9.512 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.24e-05/0.1466, allocations: 25.7 kB / 0.5547 GB, free: 9.48 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.221e-05/0.1466, allocations: 104.8 kB / 0.5548 GB, free: 9.371 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.291e-05/0.1467, allocations: 146.7 kB / 0.555 GB, free: 9.227 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.058e-05/0.1467, allocations: 37.73 kB / 0.555 GB, free: 9.184 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.891e-05/0.1468, allocations: 338.8 kB / 0.5553 GB, free: 8.844 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001266/0.1469, allocations: 189.6 kB / 0.5555 GB, free: 8.652 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001143/0.147, allocations: 185.6 kB / 0.5557 GB, free: 8.465 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002836/0.1473, allocations: 453.2 kB / 0.5561 GB, free: 8.008 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1473, allocations: 0 / 0.5561 GB, free: 8.008 MB / 426.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004552/0.1478, allocations: 464.7 kB / 0.5565 GB, free: 7.535 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.302e-05/0.1479, allocations: 85.62 kB / 0.5566 GB, free: 7.445 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.1479, allocations: 0 / 0.5566 GB, free: 7.445 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.1479, allocations: 3.984 kB / 0.5566 GB, free: 7.441 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.52e-07/0.1479, allocations: 4.062 kB / 0.5566 GB, free: 7.438 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.1479, allocations: 0 / 0.5566 GB, free: 7.438 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.272e-05/0.1479, allocations: 19.83 kB / 0.5567 GB, free: 7.418 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.447e-05/0.148, allocations: 16 kB / 0.5567 GB, free: 7.402 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.0001329/0.1481, allocations: 235.4 kB / 0.5569 GB, free: 7.156 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.088e-05/0.1481, allocations: 23.86 kB / 0.5569 GB, free: 7.133 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.384e-05/0.1481, allocations: 14.64 kB / 0.5569 GB, free: 7.121 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-06/0.1481, allocations: 0 / 0.5569 GB, free: 7.121 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1481, allocations: 3.938 kB / 0.5569 GB, free: 7.117 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1481, allocations: 0 / 0.5569 GB, free: 7.117 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001065/0.1482, allocations: 196.4 kB / 0.5571 GB, free: 6.883 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1482, allocations: 8 kB / 0.5571 GB, free: 6.875 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.12e-07/0.1482, allocations: 0 / 0.5571 GB, free: 6.875 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.1482, allocations: 0 / 0.5571 GB, free: 6.875 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.1483, allocations: 8 kB / 0.5571 GB, free: 6.867 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1483, allocations: 3.938 kB / 0.5571 GB, free: 6.863 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1483, allocations: 0 / 0.5571 GB, free: 6.863 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005952/0.1489, allocations: 0.7772 MB / 0.5579 GB, free: 6.055 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.472e-05/0.1489, allocations: 23.8 kB / 0.5579 GB, free: 6.031 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.818e-05/0.1489, allocations: 4 kB / 0.5579 GB, free: 6.027 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.62e-05/0.1489, allocations: 8 kB / 0.5579 GB, free: 6.02 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.979e-05/0.149, allocations: 8.031 kB / 0.5579 GB, free: 6.012 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/0.149, allocations: 12 kB / 0.558 GB, free: 6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.221e-05/0.149, allocations: 124.2 kB / 0.5581 GB, free: 5.879 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.149, allocations: 0 / 0.5581 GB, free: 5.879 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007238/0.1498, allocations: 359.3 kB / 0.5584 GB, free: 5.527 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.001448/0.1512, allocations: 1.584 MB / 0.56 GB, free: 3.902 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007979/0.152, allocations: 0.7602 MB / 0.5607 GB, free: 3.117 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.152, allocations: 0 / 0.5607 GB, free: 3.117 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000298/0.1523, allocations: 436.8 kB / 0.5611 GB, free: 2.672 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002069/0.1525, allocations: 19.98 kB / 0.5611 GB, free: 2.652 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2007/0.3532, allocations: 3.941 MB / 0.565 GB, free: 27.06 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001015/0.3533, allocations: 143.8 kB / 0.5651 GB, free: 26.98 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.281e-05/0.3533, allocations: 0.9062 kB / 0.5651 GB, free: 26.98 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.24e-05/0.3533, allocations: 47.33 kB / 0.5652 GB, free: 26.98 MB / 426.7 MB Notification: Performance of SimCode: time 1.092e-06/0.3533, allocations: 0 / 0.5652 GB, free: 26.98 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.5481378650292754]