Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.001004/0.001004, 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.0009264/0.0009264, allocations: 174 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.9703/0.9703, allocations: 177.1 MB / 204.2 MB, free: 5.75 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.2129/0.2129, allocations: 29.41 MB / 290.1 MB, free: 2.449 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.TransDatFromEqCirc,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_TransDatFromEqCirc",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_TransDatFromEqCirc",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 431 MB, free: 12.81 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.363e-05/2.554e-05, allocations: 10.16 kB / 431 MB, free: 12.8 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc): time 0.003427/0.003453, allocations: 2.234 MB / 433.3 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001579/0.005032, allocations: 1.026 MB / 434.3 MB, free: 9.512 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.718e-05/0.005099, allocations: 11.94 kB / 434.3 MB, free: 9.5 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001452/0.005244, allocations: 15.84 kB / 434.3 MB, free: 9.484 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001259/0.00537, allocations: 47.73 kB / 434.4 MB, free: 9.438 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001012/0.006382, allocations: 349.7 kB / 434.7 MB, free: 9.098 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001782/0.00656, allocations: 115.6 kB / 434.8 MB, free: 8.984 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.373e-05/0.006604, allocations: 0 / 434.8 MB, free: 8.984 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001775/0.006782, allocations: 67.8 kB / 434.9 MB, free: 8.918 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001159/0.006898, allocations: 71.72 kB / 435 MB, free: 8.848 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.37e-05/0.006911, allocations: 4 kB / 435 MB, free: 8.844 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008558/0.007767, allocations: 0.5611 MB / 435.5 MB, free: 8.281 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.15e-05/0.007839, allocations: 39.84 kB / 435.6 MB, free: 8.242 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.848e-05/0.007887, allocations: 27.92 kB / 435.6 MB, free: 8.215 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007284/0.008615, allocations: 0.5572 MB / 436.1 MB, free: 7.656 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.008618, allocations: 0 / 436.1 MB, free: 7.656 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.008619, allocations: 3.938 kB / 436.1 MB, free: 7.652 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.658e-06/0.008624, allocations: 0 / 436.1 MB, free: 7.652 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.000479/0.009103, allocations: 395.1 kB / 436.5 MB, free: 7.23 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.009145, allocations: 19.98 kB / 436.6 MB, free: 7.211 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.478e-05/0.00923, allocations: 62.59 kB / 436.6 MB, free: 7.141 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.047e-05/0.00927, allocations: 12.84 kB / 436.6 MB, free: 7.129 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001819/0.009452, allocations: 149.4 kB / 436.8 MB, free: 6.957 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.009468, allocations: 12.36 kB / 436.8 MB, free: 6.945 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.682e-05/0.009485, allocations: 8.375 kB / 436.8 MB, free: 6.938 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002811/0.009766, allocations: 191.6 kB / 437 MB, free: 6.738 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.009777, allocations: 7.938 kB / 437 MB, free: 6.73 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.009789, allocations: 0 / 437 MB, free: 6.73 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.009795, allocations: 7.922 kB / 437 MB, free: 6.723 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00017/0.009965, allocations: 141.6 kB / 437.1 MB, free: 6.578 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003987/0.01036, allocations: 311.7 kB / 437.4 MB, free: 6.23 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001574/0.01052, allocations: 124.2 kB / 437.6 MB, free: 6.094 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001218/0.01064, allocations: 114.5 kB / 437.7 MB, free: 5.973 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.12e-06/0.01065, allocations: 0 / 437.7 MB, free: 5.973 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/0.01067, allocations: 34.56 kB / 437.7 MB, free: 5.93 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.052e-06/0.01067, allocations: 0 / 437.7 MB, free: 5.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.0003575/0.01103, allocations: 426.5 kB / 438.1 MB, free: 5.488 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/0.01107, allocations: 93.09 kB / 438.2 MB, free: 5.379 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.172e-05/0.01114, allocations: 129.8 kB / 438.3 MB, free: 5.242 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.328e-06/0.01115, allocations: 25.7 kB / 438.4 MB, free: 5.211 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.219e-05/0.01119, allocations: 112.5 kB / 438.5 MB, free: 5.098 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.687e-05/0.01123, allocations: 67.38 kB / 438.5 MB, free: 5.031 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.133e-05/0.01126, allocations: 29.7 kB / 438.6 MB, free: 4.996 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.443e-05/0.01133, allocations: 326.8 kB / 438.9 MB, free: 4.668 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.645e-05/0.01141, allocations: 113.6 kB / 439 MB, free: 4.551 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.093e-05/0.01148, allocations: 109.7 kB / 439.1 MB, free: 4.438 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000169/0.01165, allocations: 259 kB / 439.4 MB, free: 4.172 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.01165, allocations: 0 / 439.4 MB, free: 4.172 MB / 410.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001939/0.01185, allocations: 284.9 kB / 439.6 MB, free: 3.875 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.062e-05/0.01189, allocations: 57.67 kB / 439.7 MB, free: 3.812 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.01189, allocations: 4.062 kB / 439.7 MB, free: 3.809 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.0119, allocations: 3.938 kB / 439.7 MB, free: 3.805 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.91e-07/0.0119, allocations: 0 / 439.7 MB, free: 3.805 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.01191, allocations: 0 / 439.7 MB, free: 3.805 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.905e-05/0.01195, allocations: 15.89 kB / 439.7 MB, free: 3.789 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.766e-05/0.01196, allocations: 4 kB / 439.7 MB, free: 3.785 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.271e-05/0.01206, allocations: 183.5 kB / 439.9 MB, free: 3.59 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.11e-05/0.01208, allocations: 15.91 kB / 439.9 MB, free: 3.574 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.255e-05/0.01209, allocations: 17.05 kB / 439.9 MB, free: 3.555 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.01209, allocations: 3.938 kB / 439.9 MB, free: 3.551 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.0121, allocations: 0 / 439.9 MB, free: 3.551 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.0121, allocations: 4 kB / 439.9 MB, free: 3.547 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000122/0.01222, allocations: 176.6 kB / 440.1 MB, free: 3.332 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.22e-07/0.01222, allocations: 3.938 kB / 440.1 MB, free: 3.328 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.342e-06/0.01222, allocations: 4 kB / 440.1 MB, free: 3.324 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.82e-07/0.01222, allocations: 0 / 440.1 MB, free: 3.324 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.01223, allocations: 4 kB / 440.1 MB, free: 3.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.01224, allocations: 7.875 kB / 440.1 MB, free: 3.312 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.01224, allocations: 4 kB / 440.1 MB, free: 3.309 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003438/0.01258, allocations: 0.5015 MB / 440.6 MB, free: 2.781 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.336e-05/0.01259, allocations: 15.89 kB / 440.7 MB, free: 2.766 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.01261, allocations: 8.031 kB / 440.7 MB, free: 2.758 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.179e-05/0.01265, allocations: 7.938 kB / 440.7 MB, free: 2.75 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.989e-05/0.01267, allocations: 8 kB / 440.7 MB, free: 2.742 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.01268, allocations: 7.984 kB / 440.7 MB, free: 2.734 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.296e-05/0.01272, allocations: 102.5 kB / 440.8 MB, free: 2.637 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01272, allocations: 0 / 440.8 MB, free: 2.637 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003278/0.01305, allocations: 143.7 kB / 440.9 MB, free: 2.496 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.0009891/0.01404, allocations: 1.357 MB / 442.3 MB, free: 1.094 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003503/0.01439, allocations: 438.5 kB / 442.7 MB, free: 0.6406 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.01439, allocations: 0 / 442.7 MB, free: 0.6406 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001512/0.01454, allocations: 253 kB / 443 MB, free: 384 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002145/0.01476, allocations: 19.94 kB / 443 MB, free: 364 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1378/0.1526, allocations: 2.741 MB / 445.7 MB, free: 53.14 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.436e-05/0.1527, allocations: 121.8 kB / 445.8 MB, free: 53.07 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.568e-05/0.1527, allocations: 3.75 kB / 445.8 MB, free: 53.07 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.136e-05/0.1527, allocations: 36.14 kB / 445.9 MB, free: 53.06 MB / 410.7 MB Notification: Performance of SimCode: time 9.82e-07/0.1527, allocations: 0 / 445.9 MB, free: 53.06 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.04277756344527]