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.0007522/0.0007522, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0007752/0.0007752, allocations: 170.3 kB / 23.95 MB, free: 0.6094 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.8596/0.8596, allocations: 177.1 MB / 204.3 MB, free: 5.73 MB / 186.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.2263/0.2263, allocations: 29.41 MB / 290.1 MB, free: 2.445 MB / 266.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: "" <> 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: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.919e-05/2.085e-05, allocations: 4.391 kB / 430.2 MB, free: 13.58 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1): time 0.002478/0.002499, allocations: 2.192 MB / 432.4 MB, free: 11.37 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002184/0.004684, allocations: 1.903 MB / 434.3 MB, free: 9.457 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.144e-05/0.004735, allocations: 0 / 434.3 MB, free: 9.457 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001442/0.004879, allocations: 15.91 kB / 434.3 MB, free: 9.441 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.564e-05/0.004965, allocations: 23.84 kB / 434.4 MB, free: 9.418 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001836/0.006801, allocations: 0.9848 MB / 435.3 MB, free: 8.434 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001038/0.006905, allocations: 71.62 kB / 435.4 MB, free: 8.363 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.735e-05/0.006942, allocations: 4.188 kB / 435.4 MB, free: 8.359 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001181/0.00706, allocations: 47.88 kB / 435.5 MB, free: 8.312 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.445e-05/0.007125, allocations: 35.89 kB / 435.5 MB, free: 8.277 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.498e-06/0.007134, allocations: 0 / 435.5 MB, free: 8.277 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001877/0.009011, allocations: 1.905 MB / 437.4 MB, free: 6.367 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.293e-05/0.009054, allocations: 23.91 kB / 437.4 MB, free: 6.344 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.483e-05/0.009089, allocations: 19.92 kB / 437.4 MB, free: 6.324 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001328/0.01042, allocations: 1.473 MB / 438.9 MB, free: 4.848 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.01042, allocations: 4 kB / 438.9 MB, free: 4.844 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.01042, allocations: 3.938 kB / 438.9 MB, free: 4.84 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.01042, allocations: 0 / 438.9 MB, free: 4.84 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005193/0.01094, allocations: 462.4 kB / 439.4 MB, free: 4.352 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.01098, allocations: 11.98 kB / 439.4 MB, free: 4.34 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.543e-05/0.011, allocations: 34.73 kB / 439.4 MB, free: 4.297 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.649e-05/0.01103, allocations: 16.88 kB / 439.4 MB, free: 4.281 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/0.01116, allocations: 137.4 kB / 439.6 MB, free: 4.121 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.424e-06/0.01116, allocations: 0 / 439.6 MB, free: 4.121 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.925e-06/0.01117, allocations: 0 / 439.6 MB, free: 4.121 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/0.0113, allocations: 115.4 kB / 439.7 MB, free: 3.996 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.161e-06/0.01131, allocations: 0 / 439.7 MB, free: 3.996 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.01132, allocations: 0 / 439.7 MB, free: 3.996 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.01132, allocations: 0 / 439.7 MB, free: 3.996 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.82e-05/0.01138, allocations: 81.61 kB / 439.8 MB, free: 3.91 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001193/0.0115, allocations: 148.6 kB / 439.9 MB, free: 3.723 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.729e-05/0.01157, allocations: 100.2 kB / 440 MB, free: 3.609 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.319e-05/0.01163, allocations: 78.56 kB / 440.1 MB, free: 3.523 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.921e-06/0.01163, allocations: 0 / 440.1 MB, free: 3.523 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/0.01166, allocations: 38.55 kB / 440.1 MB, free: 3.477 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 8.91e-07/0.01166, allocations: 0 / 440.1 MB, free: 3.477 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.000265/0.01192, allocations: 294.9 kB / 440.4 MB, free: 3.164 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/0.01196, allocations: 97.09 kB / 440.5 MB, free: 3.051 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.347e-05/0.01203, allocations: 128.8 kB / 440.6 MB, free: 2.918 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.608e-06/0.01204, allocations: 25.7 kB / 440.7 MB, free: 2.887 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.394e-05/0.01208, allocations: 92.14 kB / 440.7 MB, free: 2.793 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.172e-05/0.01212, allocations: 39.67 kB / 440.8 MB, free: 2.754 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.804e-05/0.01215, allocations: 25.73 kB / 440.8 MB, free: 2.723 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.94e-05/0.01223, allocations: 326.8 kB / 441.1 MB, free: 2.395 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.283e-05/0.01228, allocations: 77.67 kB / 441.2 MB, free: 2.312 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.137e-05/0.01233, allocations: 89.75 kB / 441.3 MB, free: 2.219 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001207/0.01245, allocations: 180.2 kB / 441.5 MB, free: 2.027 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.01245, allocations: 7.938 kB / 441.5 MB, free: 2.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001498/0.0126, allocations: 208.9 kB / 441.7 MB, free: 1.797 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.364e-05/0.01264, allocations: 45.69 kB / 441.7 MB, free: 1.746 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.01264, allocations: 4 kB / 441.7 MB, free: 1.742 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.01265, allocations: 3.984 kB / 441.7 MB, free: 1.738 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.32e-07/0.01265, allocations: 4.062 kB / 441.7 MB, free: 1.734 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.01266, allocations: 7.922 kB / 441.7 MB, free: 1.727 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.519e-05/0.01269, allocations: 4 kB / 441.7 MB, free: 1.723 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.676e-05/0.01271, allocations: 4 kB / 441.8 MB, free: 1.719 MB / 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 8.231e-05/0.01279, allocations: 167.5 kB / 441.9 MB, free: 1.539 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.1e-05/0.0128, allocations: 11.95 kB / 441.9 MB, free: 1.527 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.361e-05/0.01282, allocations: 8.766 kB / 441.9 MB, free: 1.516 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.01282, allocations: 0 / 441.9 MB, free: 1.516 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/0.01282, allocations: 0 / 441.9 MB, free: 1.516 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.01282, allocations: 0 / 441.9 MB, free: 1.516 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.713e-05/0.0129, allocations: 160.5 kB / 442.1 MB, free: 1.316 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.0129, allocations: 4 kB / 442.1 MB, free: 1.312 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.1e-07/0.0129, allocations: 0 / 442.1 MB, free: 1.312 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.02e-07/0.0129, allocations: 0 / 442.1 MB, free: 1.312 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.01291, allocations: 4 kB / 442.1 MB, free: 1.309 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.01291, allocations: 0 / 442.1 MB, free: 1.309 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.01292, allocations: 3.938 kB / 442.1 MB, free: 1.305 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002335/0.01315, allocations: 328.3 kB / 442.4 MB, free: 0.9531 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.043e-06/0.01316, allocations: 3.953 kB / 442.4 MB, free: 0.9492 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.324e-05/0.01317, allocations: 4 kB / 442.4 MB, free: 0.9453 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.644e-05/0.01319, allocations: 4 kB / 442.4 MB, free: 0.9414 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.408e-05/0.0132, allocations: 4.031 kB / 442.4 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.01321, allocations: 4 kB / 442.4 MB, free: 0.9336 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.588e-05/0.01325, allocations: 110.4 kB / 442.6 MB, free: 0.8281 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01325, allocations: 0 / 442.6 MB, free: 0.8281 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007853/0.01404, allocations: 323.3 kB / 442.9 MB, free: 0.5117 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.176/0.1901, allocations: 1.154 MB / 444 MB, free: 53.63 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003273/0.1904, allocations: 313.6 kB / 444.3 MB, free: 53.51 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.1904, allocations: 0 / 444.3 MB, free: 53.51 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.678e-05/0.1905, allocations: 189.6 kB / 444.5 MB, free: 53.41 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002315/0.1907, allocations: 7.438 kB / 444.5 MB, free: 53.41 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001293/0.192, allocations: 2.172 MB / 446.7 MB, free: 52.13 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.452e-05/0.192, allocations: 94.64 kB / 446.8 MB, free: 52.06 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.506e-05/0.1921, allocations: 0.5 kB / 446.8 MB, free: 52.06 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.15e-05/0.1921, allocations: 25.62 kB / 446.8 MB, free: 52.05 MB / 410.7 MB Notification: Performance of SimCode: time 1.103e-06/0.1921, allocations: 0 / 446.8 MB, free: 52.05 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: 1.8972162511199713] Failed to read output from testmodel.py, exit status != 0: 0.21282115764915943 0.218688067 0.206873196 Calling exit ...