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.0007897/0.0007897, allocations: 79.69 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.000821/0.000821, 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.9314/0.9314, allocations: 177.1 MB / 204.3 MB, free: 5.723 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.2313/0.2313, allocations: 29.41 MB / 290.1 MB, free: 2.453 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_TransDatFromEqCirc",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_TransDatFromEqCirc",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.572e-05/1.765e-05, allocations: 5.234 kB / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc): time 0.002215/0.002233, allocations: 2.234 MB / 432.5 MB, free: 11.33 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00113/0.003363, allocations: 1.037 MB / 433.5 MB, free: 10.29 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.583e-05/0.003409, allocations: 4 kB / 433.5 MB, free: 10.29 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000138/0.003547, allocations: 11.91 kB / 433.5 MB, free: 10.28 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001027/0.00365, allocations: 55.67 kB / 433.6 MB, free: 10.22 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00135/0.005, allocations: 338.8 kB / 433.9 MB, free: 9.891 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000235/0.005235, allocations: 119.5 kB / 434 MB, free: 9.773 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.263e-05/0.005288, allocations: 8 kB / 434 MB, free: 9.766 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002108/0.005498, allocations: 67.73 kB / 434.1 MB, free: 9.699 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000123/0.005621, allocations: 71.77 kB / 434.2 MB, free: 9.629 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.319e-05/0.005635, allocations: 0 / 434.2 MB, free: 9.629 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009318/0.006566, allocations: 0.5611 MB / 434.7 MB, free: 9.066 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.433e-05/0.006651, allocations: 39.91 kB / 434.8 MB, free: 9.027 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.098e-05/0.006702, allocations: 19.94 kB / 434.8 MB, free: 9.008 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009841/0.007686, allocations: 0.5611 MB / 435.3 MB, free: 8.445 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.007689, allocations: 3.938 kB / 435.3 MB, free: 8.441 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.00769, allocations: 7.938 kB / 435.4 MB, free: 8.434 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.007696, allocations: 0 / 435.4 MB, free: 8.434 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.0005753/0.008272, allocations: 391.1 kB / 435.7 MB, free: 8.016 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.005e-05/0.008332, allocations: 15.98 kB / 435.7 MB, free: 8 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.352e-05/0.008425, allocations: 66.53 kB / 435.8 MB, free: 7.926 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.809e-05/0.008473, allocations: 20.83 kB / 435.8 MB, free: 7.906 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001959/0.008669, allocations: 145.5 kB / 436 MB, free: 7.738 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.008684, allocations: 8.312 kB / 436 MB, free: 7.73 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.774e-05/0.008701, allocations: 8.375 kB / 436 MB, free: 7.723 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002994/0.009001, allocations: 199.6 kB / 436.2 MB, free: 7.516 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-06/0.00901, allocations: 0 / 436.2 MB, free: 7.516 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.009023, allocations: 4 kB / 436.2 MB, free: 7.512 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.009029, allocations: 4 kB / 436.2 MB, free: 7.508 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001707/0.0092, allocations: 137.6 kB / 436.3 MB, free: 7.367 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004628/0.009663, allocations: 307.7 kB / 436.6 MB, free: 7.023 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001637/0.009827, allocations: 128.2 kB / 436.8 MB, free: 6.883 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001264/0.009953, allocations: 114.5 kB / 436.9 MB, free: 6.762 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.016e-05/0.009963, allocations: 4 kB / 436.9 MB, free: 6.758 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.825e-05/0.009991, allocations: 30.56 kB / 436.9 MB, free: 6.719 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.803e-06/0.009993, allocations: 3.938 kB / 436.9 MB, free: 6.715 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.0006238/0.01062, allocations: 429.5 kB / 437.3 MB, free: 6.273 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.625e-05/0.01067, allocations: 93.14 kB / 437.4 MB, free: 6.164 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.01078, allocations: 133.8 kB / 437.5 MB, free: 6.023 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.01079, allocations: 25.7 kB / 437.6 MB, free: 5.992 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.287e-05/0.01086, allocations: 112.5 kB / 437.7 MB, free: 5.879 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.468e-05/0.01091, allocations: 67.38 kB / 437.7 MB, free: 5.812 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.942e-05/0.01096, allocations: 25.7 kB / 437.8 MB, free: 5.781 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.01107, allocations: 326.8 kB / 438.1 MB, free: 5.453 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001192/0.01118, allocations: 113.6 kB / 438.2 MB, free: 5.336 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001089/0.01129, allocations: 113.6 kB / 438.3 MB, free: 5.219 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002431/0.01154, allocations: 255.2 kB / 438.6 MB, free: 4.957 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.01154, allocations: 0 / 438.6 MB, free: 4.957 MB / 410.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003032/0.01184, allocations: 284.9 kB / 438.8 MB, free: 4.66 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.824e-05/0.0119, allocations: 60.95 kB / 438.9 MB, free: 4.598 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.01191, allocations: 0 / 438.9 MB, free: 4.598 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.01192, allocations: 3.938 kB / 438.9 MB, free: 4.594 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.226e-06/0.01192, allocations: 3.984 kB / 438.9 MB, free: 4.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.01193, allocations: 0 / 438.9 MB, free: 4.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.915e-05/0.01199, allocations: 19.89 kB / 438.9 MB, free: 4.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.492e-05/0.01201, allocations: 4 kB / 438.9 MB, free: 4.566 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 0.0001532/0.01217, allocations: 187.4 kB / 439.1 MB, free: 4.367 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.701e-05/0.0122, allocations: 15.91 kB / 439.1 MB, free: 4.352 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.809e-05/0.01222, allocations: 17.09 kB / 439.1 MB, free: 4.332 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.01223, allocations: 3.938 kB / 439.1 MB, free: 4.328 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.01223, allocations: 0 / 439.1 MB, free: 4.328 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.01223, allocations: 0 / 439.1 MB, free: 4.328 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001909/0.01242, allocations: 176.6 kB / 439.3 MB, free: 4.113 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.01243, allocations: 0 / 439.3 MB, free: 4.113 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.92e-07/0.01243, allocations: 0 / 439.3 MB, free: 4.113 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.01243, allocations: 0 / 439.3 MB, free: 4.113 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/0.01245, allocations: 11.98 kB / 439.3 MB, free: 4.102 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.01245, allocations: 3.938 kB / 439.3 MB, free: 4.098 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.01245, allocations: 0 / 439.3 MB, free: 4.098 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005259/0.01298, allocations: 0.5026 MB / 439.8 MB, free: 3.566 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.05e-05/0.013, allocations: 15.89 kB / 439.9 MB, free: 3.551 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.24e-05/0.01302, allocations: 7.938 kB / 439.9 MB, free: 3.543 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.841e-05/0.0131, allocations: 7.938 kB / 439.9 MB, free: 3.535 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.332e-05/0.01312, allocations: 8 kB / 439.9 MB, free: 3.527 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/0.01314, allocations: 4 kB / 439.9 MB, free: 3.523 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.442e-05/0.0132, allocations: 103.2 kB / 440 MB, free: 3.422 MB / 410.7 MB Notification: Performance of sort global known variables: time 1e-07/0.0132, allocations: 0 / 440 MB, free: 3.422 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006224/0.01382, allocations: 143.7 kB / 440.1 MB, free: 3.281 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.00155/0.01537, allocations: 1.358 MB / 441.5 MB, free: 1.883 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005207/0.0159, allocations: 434.5 kB / 441.9 MB, free: 1.434 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.0159, allocations: 0 / 441.9 MB, free: 1.434 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002577/0.01616, allocations: 260.9 kB / 442.2 MB, free: 1.16 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003447/0.0165, allocations: 19.94 kB / 442.2 MB, free: 1.141 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1736/0.1901, allocations: 2.741 MB / 444.9 MB, free: 53.09 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.362e-05/0.1901, allocations: 120.8 kB / 445 MB, free: 53.01 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.494e-05/0.1902, allocations: 3.516 kB / 445 MB, free: 53.01 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.777e-05/0.1902, allocations: 39.69 kB / 445.1 MB, free: 53.01 MB / 410.7 MB Notification: Performance of SimCode: time 1.362e-06/0.1902, allocations: 0 / 445.1 MB, free: 53.01 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.0525323674082756] Failed to read output from testmodel.py, exit status != 0: 0.20758975390344858 0.215375791 0.20619409900000002 Calling exit ...