Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.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.0007527/0.0007527, 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.0008103/0.0008103, 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.9233/0.9233, 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 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.2323/0.2323, allocations: 29.41 MB / 290.1 MB, free: 2.438 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.TransDatFromEqCirc,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_TransDatFromEqCirc",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Precalculation_TransDatFromEqCirc",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.128e-06/4.128e-06, allocations: 4 kB / 430.2 MB, free: 13.58 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.651e-05/2.064e-05, allocations: 2.281 kB / 430.2 MB, free: 13.58 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc): time 0.002268/0.002289, allocations: 2.238 MB / 432.5 MB, free: 11.32 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001102/0.003391, allocations: 1.036 MB / 433.5 MB, free: 10.28 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.438e-05/0.003435, allocations: 0 / 433.5 MB, free: 10.28 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001232/0.003559, allocations: 15.91 kB / 433.5 MB, free: 10.27 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 9.275e-05/0.003651, allocations: 51.67 kB / 433.6 MB, free: 10.21 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007238/0.004375, allocations: 334.9 kB / 433.9 MB, free: 9.887 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001348/0.00451, allocations: 127.5 kB / 434 MB, free: 9.762 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.7e-05/0.004547, allocations: 4 kB / 434 MB, free: 9.758 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001327/0.00468, allocations: 67.8 kB / 434.1 MB, free: 9.691 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.316e-05/0.004763, allocations: 71.77 kB / 434.2 MB, free: 9.621 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.105e-05/0.004774, allocations: 4 kB / 434.2 MB, free: 9.617 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000728/0.005502, allocations: 0.5533 MB / 434.7 MB, free: 9.062 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.523e-05/0.005557, allocations: 43.88 kB / 434.8 MB, free: 9.02 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.394e-05/0.005591, allocations: 23.94 kB / 434.8 MB, free: 8.996 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004966/0.006088, allocations: 0.561 MB / 435.3 MB, free: 8.434 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.00609, allocations: 4 kB / 435.3 MB, free: 8.43 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.006091, allocations: 4 kB / 435.3 MB, free: 8.426 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.107e-06/0.006095, allocations: 0 / 435.3 MB, free: 8.426 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004056/0.0065, allocations: 395.1 kB / 435.7 MB, free: 8.004 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.006537, allocations: 11.98 kB / 435.7 MB, free: 7.992 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6e-05/0.006597, allocations: 66.52 kB / 435.8 MB, free: 7.918 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.171e-05/0.006629, allocations: 16.84 kB / 435.8 MB, free: 7.902 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.006764, allocations: 156.4 kB / 436 MB, free: 7.727 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.877e-06/0.006773, allocations: 4.375 kB / 436 MB, free: 7.723 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.006784, allocations: 8.375 kB / 436 MB, free: 7.715 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001926/0.006977, allocations: 198.5 kB / 436.2 MB, free: 7.512 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.822e-06/0.006984, allocations: 4 kB / 436.2 MB, free: 7.508 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.006995, allocations: 8 kB / 436.2 MB, free: 7.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.006999, allocations: 0 / 436.2 MB, free: 7.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001037/0.007103, allocations: 137.6 kB / 436.3 MB, free: 7.359 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004897/0.007593, allocations: 307.7 kB / 436.6 MB, free: 7.016 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000365/0.007958, allocations: 132.2 kB / 436.8 MB, free: 6.871 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.544e-05/0.008033, allocations: 118.5 kB / 436.9 MB, free: 6.746 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.452e-06/0.00804, allocations: 0 / 436.9 MB, free: 6.746 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.008058, allocations: 30.56 kB / 436.9 MB, free: 6.707 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.372e-06/0.008059, allocations: 3.938 kB / 436.9 MB, free: 6.703 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.0003534/0.008413, allocations: 422.6 kB / 437.3 MB, free: 6.266 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.683e-05/0.00845, allocations: 93.09 kB / 437.4 MB, free: 6.156 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.01e-05/0.00852, allocations: 133.8 kB / 437.5 MB, free: 6.016 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.104e-05/0.008531, allocations: 29.7 kB / 437.6 MB, free: 5.98 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.134e-05/0.008572, allocations: 104.5 kB / 437.7 MB, free: 5.875 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.406e-05/0.008606, allocations: 79.25 kB / 437.8 MB, free: 5.797 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.099e-05/0.008637, allocations: 25.72 kB / 437.8 MB, free: 5.766 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.438e-05/0.008712, allocations: 322.8 kB / 438.1 MB, free: 5.441 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.254e-05/0.008784, allocations: 109.6 kB / 438.2 MB, free: 5.328 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.551e-05/0.00885, allocations: 113.6 kB / 438.3 MB, free: 5.211 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001548/0.009004, allocations: 251.1 kB / 438.6 MB, free: 4.953 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.009006, allocations: 4 kB / 438.6 MB, free: 4.949 MB / 410.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001893/0.009195, allocations: 288.9 kB / 438.8 MB, free: 4.648 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.653e-05/0.009232, allocations: 53.67 kB / 438.9 MB, free: 4.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.009236, allocations: 8 kB / 438.9 MB, free: 4.582 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.009247, allocations: 3.938 kB / 438.9 MB, free: 4.578 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.11e-07/0.009248, allocations: 0 / 438.9 MB, free: 4.578 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.009253, allocations: 3.938 kB / 438.9 MB, free: 4.574 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.897e-05/0.009292, allocations: 11.89 kB / 438.9 MB, free: 4.562 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.826e-05/0.00931, allocations: 8 kB / 438.9 MB, free: 4.555 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 9.275e-05/0.009403, allocations: 187.5 kB / 439.1 MB, free: 4.355 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.847e-05/0.009422, allocations: 15.91 kB / 439.1 MB, free: 4.34 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.209e-05/0.009434, allocations: 13.11 kB / 439.1 MB, free: 4.324 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.009437, allocations: 7.938 kB / 439.2 MB, free: 4.316 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.009442, allocations: 0 / 439.2 MB, free: 4.316 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.009444, allocations: 0 / 439.2 MB, free: 4.316 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001153/0.009559, allocations: 172.6 kB / 439.3 MB, free: 4.105 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.00956, allocations: 0 / 439.3 MB, free: 4.105 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.51e-07/0.00956, allocations: 0 / 439.3 MB, free: 4.105 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.009562, allocations: 0 / 439.3 MB, free: 4.105 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.799e-06/0.009572, allocations: 4 kB / 439.3 MB, free: 4.102 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.009573, allocations: 7.938 kB / 439.3 MB, free: 4.094 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.009574, allocations: 0 / 439.3 MB, free: 4.094 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003089/0.009883, allocations: 0.5093 MB / 439.8 MB, free: 3.559 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.1e-05/0.009894, allocations: 11.91 kB / 439.9 MB, free: 3.547 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.009907, allocations: 4 kB / 439.9 MB, free: 3.543 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.865e-05/0.009945, allocations: 7.938 kB / 439.9 MB, free: 3.535 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.527e-05/0.009961, allocations: 7.922 kB / 439.9 MB, free: 3.527 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.247e-06/0.00997, allocations: 11.98 kB / 439.9 MB, free: 3.516 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.991e-05/0.01001, allocations: 106.4 kB / 440 MB, free: 3.414 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01001, allocations: 0 / 440 MB, free: 3.414 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000291/0.0103, allocations: 147.6 kB / 440.1 MB, free: 3.27 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.0008741/0.01118, allocations: 1.35 MB / 441.5 MB, free: 1.875 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003188/0.01149, allocations: 438.5 kB / 441.9 MB, free: 1.422 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.0115, allocations: 0 / 441.9 MB, free: 1.422 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001508/0.01165, allocations: 257 kB / 442.2 MB, free: 1.152 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002127/0.01186, allocations: 19.94 kB / 442.2 MB, free: 1.133 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1581/0.1699, allocations: 2.748 MB / 444.9 MB, free: 53.04 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.174e-05/0.17, allocations: 120.2 kB / 445 MB, free: 52.96 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.869e-05/0.17, allocations: 4.875 kB / 445 MB, free: 52.96 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.904e-05/0.1701, allocations: 34.84 kB / 445.1 MB, free: 52.96 MB / 410.7 MB Notification: Performance of SimCode: time 1.423e-06/0.1701, allocations: 0 / 445.1 MB, free: 52.96 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.9391217976808548] Failed to read output from testmodel.py, exit status != 0: 0.18514528032392263 0.19309705700000002 0.18568057400000001 Calling exit ...