Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.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.0009724/0.0009724, allocations: 83.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001047/0.001047, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9827/0.9827, allocations: 177.1 MB / 204.3 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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.2386/0.2386, allocations: 29.41 MB / 290.1 MB, free: 2.422 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat2",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixTrDat2",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 431 MB, free: 12.82 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.202e-05/2.369e-05, allocations: 11.42 kB / 431 MB, free: 12.81 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2): time 0.003979/0.004003, allocations: 2.192 MB / 433.2 MB, free: 10.6 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003217/0.00722, allocations: 1.903 MB / 435.1 MB, free: 8.684 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.359e-05/0.007284, allocations: 7.938 kB / 435.1 MB, free: 8.676 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001366/0.00742, allocations: 11.92 kB / 435.1 MB, free: 8.664 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 9.78e-05/0.007518, allocations: 35.77 kB / 435.2 MB, free: 8.629 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002424/0.009943, allocations: 0.9622 MB / 436.1 MB, free: 7.664 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001239/0.01007, allocations: 75.69 kB / 436.2 MB, free: 7.59 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.551e-05/0.01011, allocations: 4.188 kB / 436.2 MB, free: 7.586 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001391/0.01025, allocations: 47.83 kB / 436.3 MB, free: 7.539 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.499e-05/0.01033, allocations: 43.88 kB / 436.3 MB, free: 7.496 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.01034, allocations: 4 kB / 436.3 MB, free: 7.492 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002067/0.0124, allocations: 1.898 MB / 438.2 MB, free: 5.59 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.309e-05/0.01247, allocations: 39.84 kB / 438.3 MB, free: 5.551 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.247e-05/0.01251, allocations: 15.94 kB / 438.3 MB, free: 5.535 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001977/0.01449, allocations: 1.504 MB / 439.8 MB, free: 4.027 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.01449, allocations: 4 kB / 439.8 MB, free: 4.023 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.01449, allocations: 0 / 439.8 MB, free: 4.023 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.0145, allocations: 0 / 439.8 MB, free: 4.023 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0007491/0.01525, allocations: 0.4981 MB / 440.3 MB, free: 3.488 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.01529, allocations: 15.98 kB / 440.3 MB, free: 3.473 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.368e-05/0.01532, allocations: 34.75 kB / 440.3 MB, free: 3.43 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.444e-05/0.01536, allocations: 16.78 kB / 440.3 MB, free: 3.414 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001408/0.0155, allocations: 145.4 kB / 440.5 MB, free: 3.246 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.01551, allocations: 4.125 kB / 440.5 MB, free: 3.242 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.015e-05/0.01552, allocations: 0 / 440.5 MB, free: 3.242 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001878/0.01571, allocations: 166.4 kB / 440.6 MB, free: 3.07 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.01571, allocations: 7.938 kB / 440.7 MB, free: 3.062 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.01573, allocations: 0 / 440.7 MB, free: 3.062 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.85e-06/0.01573, allocations: 0 / 440.7 MB, free: 3.062 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.118e-05/0.01582, allocations: 129.6 kB / 440.8 MB, free: 2.93 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001278/0.01595, allocations: 156.6 kB / 440.9 MB, free: 2.734 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001206/0.01607, allocations: 140.2 kB / 441.1 MB, free: 2.582 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.143e-05/0.01616, allocations: 134.5 kB / 441.2 MB, free: 2.441 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.009e-06/0.01617, allocations: 0 / 441.2 MB, free: 2.441 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/0.01619, allocations: 38.5 kB / 441.2 MB, free: 2.395 MB / 410.7 MB Notification: Performance of pre-optimization done (n=24): time 1.313e-06/0.01619, allocations: 3.984 kB / 441.2 MB, free: 2.391 MB / 410.7 MB Notification: Performance of matching and sorting (n=24): time 0.0003925/0.01659, allocations: 474.8 kB / 441.7 MB, free: 1.902 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.427e-05/0.01663, allocations: 101 kB / 441.8 MB, free: 1.785 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.01674, allocations: 156.3 kB / 442 MB, free: 1.625 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.01675, allocations: 25.7 kB / 442 MB, free: 1.594 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.342e-05/0.01679, allocations: 100.6 kB / 442.1 MB, free: 1.492 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.046e-05/0.01685, allocations: 79.28 kB / 442.2 MB, free: 1.414 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.301e-05/0.01688, allocations: 29.7 kB / 442.2 MB, free: 1.379 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.027e-05/0.01697, allocations: 322.8 kB / 442.5 MB, free: 1.055 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003451/0.01731, allocations: 133.6 kB / 442.6 MB, free: 0.918 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.804e-05/0.01739, allocations: 121.7 kB / 442.8 MB, free: 0.793 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001875/0.01758, allocations: 305.6 kB / 443.1 MB, free: 492 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.01758, allocations: 3.938 kB / 443.1 MB, free: 488 kB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002268/0.01781, allocations: 320.8 kB / 443.4 MB, free: 148 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.661e-05/0.01785, allocations: 68.62 kB / 443.4 MB, free: 76 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.01786, allocations: 0 / 443.4 MB, free: 76 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.01787, allocations: 0 / 443.4 MB, free: 76 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.345e-06/0.01787, allocations: 3.984 kB / 443.4 MB, free: 72 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.01788, allocations: 3.984 kB / 443.4 MB, free: 68 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.397e-05/0.01792, allocations: 11.89 kB / 443.5 MB, free: 56 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.137e-05/0.01794, allocations: 8 kB / 443.5 MB, free: 48 kB / 410.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.1607/0.1787, allocations: 196.1 kB / 443.7 MB, free: 54.04 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.076e-05/0.1787, allocations: 15.16 kB / 443.7 MB, free: 54.04 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.863e-05/0.1787, allocations: 9.969 kB / 443.7 MB, free: 54.03 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.1787, allocations: 0 / 443.7 MB, free: 54.03 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.1787, allocations: 7.359 kB / 443.7 MB, free: 54.03 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.1787, allocations: 0 / 443.7 MB, free: 54.03 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.771e-05/0.1788, allocations: 164.7 kB / 443.8 MB, free: 53.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.1788, allocations: 3.219 kB / 443.9 MB, free: 53.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.192e-06/0.1788, allocations: 2.719 kB / 443.9 MB, free: 53.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.1788, allocations: 1.406 kB / 443.9 MB, free: 53.88 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.1788, allocations: 9.984 kB / 443.9 MB, free: 53.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.1788, allocations: 0 / 443.9 MB, free: 53.88 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1788, allocations: 3.156 kB / 443.9 MB, free: 53.88 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003686/0.1792, allocations: 0.5164 MB / 444.4 MB, free: 53.75 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.378e-05/0.1792, allocations: 21.94 kB / 444.4 MB, free: 53.74 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.661e-05/0.1792, allocations: 7.094 kB / 444.4 MB, free: 53.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.323e-05/0.1793, allocations: 5.531 kB / 444.4 MB, free: 53.74 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.587e-05/0.1793, allocations: 9.625 kB / 444.4 MB, free: 53.74 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.1793, allocations: 6.344 kB / 444.4 MB, free: 53.74 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.54e-05/0.1794, allocations: 115.4 kB / 444.5 MB, free: 53.66 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1794, allocations: 0 / 444.5 MB, free: 53.66 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007725/0.1801, allocations: 341.7 kB / 444.9 MB, free: 53.66 MB / 410.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.001015/0.1811, allocations: 1.348 MB / 446.2 MB, free: 52.99 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000336/0.1815, allocations: 0.5022 MB / 446.7 MB, free: 52.86 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1815, allocations: 0 / 446.7 MB, free: 52.86 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000161/0.1816, allocations: 296.2 kB / 447 MB, free: 52.76 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000186/0.1818, allocations: 24.28 kB / 447 MB, free: 52.75 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001752/0.1836, allocations: 2.948 MB / 450 MB, free: 51.08 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.736e-05/0.1836, allocations: 119.3 kB / 450.1 MB, free: 51 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.565e-05/0.1837, allocations: 0 / 450.1 MB, free: 51 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.357e-05/0.1837, allocations: 35.36 kB / 450.1 MB, free: 50.97 MB / 410.7 MB Notification: Performance of SimCode: time 6.81e-07/0.1837, allocations: 0 / 450.1 MB, free: 50.97 MB / 410.7 MB [CodegenCFunctions.tpl:5727:13-5727: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.202308164909482]