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.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.001161/0.001161, allocations: 111 kB / 20.43 MB, free: 4.598 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.001129/0.001129, allocations: 225.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.148/1.148, allocations: 230.6 MB / 257.5 MB, free: 9.605 MB / 202.7 MB " [Timeout remaining time 179] 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.1266/0.1266, allocations: 38.56 MB / 352.5 MB, free: 11.43 MB / 282.7 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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat0",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.001718/0.001718, allocations: 75.89 kB / 493.3 MB, free: 4.559 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1364, allocations: 62.47 MB / 0.5427 GB, free: 6 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0): time 0.003618/0.14, allocations: 2.18 MB / 0.5449 GB, free: 3.797 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002579/0.1426, allocations: 1.903 MB / 0.5467 GB, free: 1.883 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.182e-05/0.1427, allocations: 0 / 0.5467 GB, free: 1.883 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002694/0.143, allocations: 11.92 kB / 0.5467 GB, free: 1.871 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001207/0.1431, allocations: 31.83 kB / 0.5468 GB, free: 1.84 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002515/0.1456, allocations: 0.9591 MB / 0.5477 GB, free: 0.8789 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001889/0.1458, allocations: 83.62 kB / 0.5478 GB, free: 0.7969 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.393e-05/0.1458, allocations: 4.172 kB / 0.5478 GB, free: 0.793 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000179/0.146, allocations: 39.89 kB / 0.5478 GB, free: 0.7539 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001046/0.1461, allocations: 51.75 kB / 0.5479 GB, free: 0.7031 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.194e-05/0.1461, allocations: 0 / 0.5479 GB, free: 0.7031 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002644/0.1488, allocations: 1.898 MB / 0.5497 GB, free: 14.8 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 6.07e-05/0.1488, allocations: 15.81 kB / 0.5497 GB, free: 14.79 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 4.628e-05/0.1489, allocations: 11.88 kB / 0.5497 GB, free: 14.77 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001833/0.1507, allocations: 1.321 MB / 0.551 GB, free: 13.45 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1507, allocations: 0 / 0.551 GB, free: 13.45 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.335e-06/0.1507, allocations: 0 / 0.551 GB, free: 13.45 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.1507, allocations: 0 / 0.551 GB, free: 13.45 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006693/0.1514, allocations: 446.4 kB / 0.5515 GB, free: 12.98 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.444e-05/0.1515, allocations: 12.03 kB / 0.5515 GB, free: 12.96 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.41e-05/0.1515, allocations: 30.75 kB / 0.5515 GB, free: 12.93 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.271e-05/0.1515, allocations: 16.88 kB / 0.5515 GB, free: 12.91 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001722/0.1517, allocations: 129.1 kB / 0.5516 GB, free: 12.76 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.1517, allocations: 0 / 0.5516 GB, free: 12.76 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.112e-05/0.1517, allocations: 15.86 kB / 0.5517 GB, free: 12.75 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/0.1519, allocations: 95.38 kB / 0.5517 GB, free: 12.64 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.1519, allocations: 0 / 0.5517 GB, free: 12.64 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.1519, allocations: 3.938 kB / 0.5518 GB, free: 12.64 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.1519, allocations: 0 / 0.5518 GB, free: 12.64 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.418e-05/0.152, allocations: 57.69 kB / 0.5518 GB, free: 12.57 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001552/0.1521, allocations: 136.7 kB / 0.5519 GB, free: 12.4 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.88e-05/0.1522, allocations: 80.25 kB / 0.552 GB, free: 12.3 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.135e-05/0.1523, allocations: 74.67 kB / 0.5521 GB, free: 12.22 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.929e-06/0.1523, allocations: 0 / 0.5521 GB, free: 12.22 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/0.1523, allocations: 34.55 kB / 0.5521 GB, free: 12.18 MB / 426.7 MB Notification: Performance of pre-optimization done (n=8): time 1.743e-06/0.1523, allocations: 0 / 0.5521 GB, free: 12.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003414/0.1527, allocations: 242.7 kB / 0.5523 GB, free: 11.92 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.183e-05/0.1527, allocations: 81.11 kB / 0.5524 GB, free: 11.82 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.1528, allocations: 125.8 kB / 0.5525 GB, free: 11.69 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/0.1529, allocations: 25.7 kB / 0.5526 GB, free: 11.66 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.48e-05/0.1529, allocations: 88.14 kB / 0.5527 GB, free: 11.57 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.991e-05/0.1529, allocations: 27.73 kB / 0.5527 GB, free: 11.54 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.944e-05/0.153, allocations: 25.75 kB / 0.5527 GB, free: 11.51 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.1531, allocations: 322.8 kB / 0.553 GB, free: 11.18 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.918e-05/0.1532, allocations: 65.62 kB / 0.5531 GB, free: 11.11 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.94e-05/0.1532, allocations: 61.67 kB / 0.5531 GB, free: 11.05 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001175/0.1533, allocations: 140.2 kB / 0.5533 GB, free: 10.89 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.1533, allocations: 4 kB / 0.5533 GB, free: 10.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001695/0.1535, allocations: 169 kB / 0.5534 GB, free: 10.71 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.343e-05/0.1536, allocations: 49.67 kB / 0.5535 GB, free: 10.65 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.1536, allocations: 0 / 0.5535 GB, free: 10.65 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.1536, allocations: 0 / 0.5535 GB, free: 10.65 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.733e-06/0.1536, allocations: 0 / 0.5535 GB, free: 10.65 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.1536, allocations: 4.062 kB / 0.5535 GB, free: 10.65 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.793e-05/0.1536, allocations: 4 kB / 0.5535 GB, free: 10.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.463e-05/0.1537, allocations: 7.922 kB / 0.5535 GB, free: 10.64 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 9.894e-05/0.1538, allocations: 155.5 kB / 0.5536 GB, free: 10.47 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.3e-05/0.1538, allocations: 11.94 kB / 0.5537 GB, free: 10.46 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.149e-05/0.1538, allocations: 12.38 kB / 0.5537 GB, free: 10.44 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1538, allocations: 0 / 0.5537 GB, free: 10.44 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.1538, allocations: 0 / 0.5537 GB, free: 10.44 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.1538, allocations: 0 / 0.5537 GB, free: 10.44 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.778e-05/0.1539, allocations: 148.6 kB / 0.5538 GB, free: 10.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.1539, allocations: 11.92 kB / 0.5538 GB, free: 10.24 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-07/0.1539, allocations: 0 / 0.5538 GB, free: 10.24 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.223e-06/0.1539, allocations: 0 / 0.5538 GB, free: 10.24 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.1539, allocations: 7.938 kB / 0.5538 GB, free: 10.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.1539, allocations: 0 / 0.5538 GB, free: 10.23 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1539, allocations: 0 / 0.5538 GB, free: 10.23 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002202/0.1541, allocations: 256.3 kB / 0.5541 GB, free: 9.953 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.054e-05/0.1542, allocations: 3.953 kB / 0.5541 GB, free: 9.949 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.357e-05/0.1542, allocations: 4 kB / 0.5541 GB, free: 9.945 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.021e-05/0.1542, allocations: 0 / 0.5541 GB, free: 9.945 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.792e-05/0.1542, allocations: 4 kB / 0.5541 GB, free: 9.941 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.237e-06/0.1542, allocations: 15.95 kB / 0.5541 GB, free: 9.926 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.367e-05/0.1543, allocations: 99.2 kB / 0.5542 GB, free: 9.828 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1543, allocations: 4 kB / 0.5542 GB, free: 9.824 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007239/0.155, allocations: 311.4 kB / 0.5545 GB, free: 9.52 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.001213/0.1562, allocations: 1.056 MB / 0.5555 GB, free: 8.426 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002932/0.1565, allocations: 242.7 kB / 0.5558 GB, free: 8.164 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.1565, allocations: 4.094 kB / 0.5558 GB, free: 8.16 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.685e-05/0.1566, allocations: 161 kB / 0.5559 GB, free: 7.984 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002266/0.1568, allocations: 4 kB / 0.5559 GB, free: 7.98 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001776/0.1586, allocations: 1.88 MB / 0.5578 GB, free: 5.98 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.328e-05/0.1587, allocations: 79.33 kB / 0.5578 GB, free: 5.883 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.365e-05/0.1587, allocations: 3.938 kB / 0.5578 GB, free: 5.879 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.988e-05/0.1587, allocations: 23.52 kB / 0.5579 GB, free: 5.855 MB / 426.7 MB Notification: Performance of SimCode: time 9.42e-07/0.1587, allocations: 0 / 0.5579 GB, free: 5.855 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.9071607189252973]