Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.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.0009751/0.0009751, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001054/0.001054, allocations: 165 kB / 24.56 MB, free: 12 kB / 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.9425/0.9425, allocations: 177.1 MB / 205 MB, free: 5.602 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.219/0.219, allocations: 29.41 MB / 290.9 MB, free: 2.484 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: translateModel(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat") translateModel(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 369.7 MB, free: 10.97 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.37e-05/2.513e-05, allocations: 6.312 kB / 369.7 MB, free: 10.96 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat): time 0.002417/0.002442, allocations: 2.315 MB / 372 MB, free: 8.629 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002356/0.004798, allocations: 1.973 MB / 373.9 MB, free: 6.645 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.793e-05/0.004856, allocations: 3.938 kB / 373.9 MB, free: 6.641 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001306/0.004986, allocations: 11.92 kB / 374 MB, free: 6.629 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 9.706e-05/0.005083, allocations: 43.69 kB / 374 MB, free: 6.586 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001766/0.006849, allocations: 0.9622 MB / 375 MB, free: 5.621 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001223/0.006971, allocations: 95.55 kB / 375.1 MB, free: 5.527 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.438e-05/0.007006, allocations: 8 kB / 375.1 MB, free: 5.52 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001285/0.007134, allocations: 47.88 kB / 375.1 MB, free: 5.473 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.469e-05/0.007209, allocations: 51.88 kB / 375.2 MB, free: 5.422 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.191e-05/0.007221, allocations: 7.938 kB / 375.2 MB, free: 5.414 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001987/0.009208, allocations: 1.855 MB / 377 MB, free: 3.555 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.821e-05/0.009276, allocations: 35.91 kB / 377.1 MB, free: 3.52 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.687e-05/0.009323, allocations: 19.94 kB / 377.1 MB, free: 3.5 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001629/0.01095, allocations: 1.496 MB / 378.6 MB, free: 2 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.01096, allocations: 0 / 378.6 MB, free: 2 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.01096, allocations: 0 / 378.6 MB, free: 2 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.01096, allocations: 0 / 378.6 MB, free: 2 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006794/0.01164, allocations: 0.5669 MB / 379.1 MB, free: 1.391 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.01168, allocations: 11.98 kB / 379.2 MB, free: 1.379 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.411e-05/0.01174, allocations: 16.84 kB / 379.2 MB, free: 1.363 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004283/0.01217, allocations: 136.4 kB / 379.3 MB, free: 1.203 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.077e-06/0.01217, allocations: 384 / 379.3 MB, free: 1.203 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.378e-06/0.01218, allocations: 384 / 379.3 MB, free: 1.203 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001316/0.01232, allocations: 91.44 kB / 379.4 MB, free: 1.102 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.01232, allocations: 7.984 kB / 379.4 MB, free: 1.094 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.01233, allocations: 4 kB / 379.4 MB, free: 1.09 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.01234, allocations: 0 / 379.4 MB, free: 1.09 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.601e-05/0.01237, allocations: 49.69 kB / 379.5 MB, free: 1.035 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001077/0.01248, allocations: 136.5 kB / 379.6 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.262e-05/0.01255, allocations: 76.75 kB / 379.7 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.676e-05/0.01258, allocations: 53.41 kB / 379.7 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.138e-06/0.01259, allocations: 3.938 kB / 379.7 MB, free: 0.707 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.01261, allocations: 37.39 kB / 379.8 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 1.002e-06/0.01261, allocations: 0 / 379.8 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002529/0.01286, allocations: 230.9 kB / 380 MB, free: 420 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.277e-05/0.0129, allocations: 89.09 kB / 380.1 MB, free: 312 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.01301, allocations: 208.6 kB / 380.3 MB, free: 88 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.01302, allocations: 29.7 kB / 380.3 MB, free: 52 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.081e-05/0.01308, allocations: 147.1 kB / 380.4 MB, free: 15.9 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.542e-05/0.01313, allocations: 43.59 kB / 380.5 MB, free: 15.86 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.985e-05/0.01317, allocations: 35.36 kB / 380.5 MB, free: 15.82 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.01328, allocations: 0.4962 MB / 381 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.427e-05/0.01332, allocations: 49.62 kB / 381.1 MB, free: 15.25 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.312e-05/0.01336, allocations: 49.69 kB / 381.1 MB, free: 15.2 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.786e-05/0.01345, allocations: 122.6 kB / 381.2 MB, free: 15.07 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.01345, allocations: 0 / 381.2 MB, free: 15.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001331/0.01358, allocations: 165 kB / 381.4 MB, free: 14.89 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.683e-05/0.01362, allocations: 45.62 kB / 381.4 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.01362, allocations: 4 kB / 381.4 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.01364, allocations: 0 / 381.4 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.33e-06/0.01364, allocations: 3.984 kB / 381.4 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.01365, allocations: 0 / 381.4 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.556e-05/0.01369, allocations: 7.938 kB / 381.5 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.831e-05/0.01371, allocations: 4 kB / 381.5 MB, free: 14.82 MB / 362.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.143e-05/0.0138, allocations: 210.2 kB / 381.7 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.863e-05/0.01382, allocations: 27.91 kB / 381.7 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.648e-05/0.01384, allocations: 16.72 kB / 381.7 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.01384, allocations: 0 / 381.7 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.01384, allocations: 0 / 381.7 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.01385, allocations: 0 / 381.7 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.293e-05/0.01392, allocations: 140.6 kB / 381.8 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.01392, allocations: 0 / 381.8 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.8e-07/0.01392, allocations: 0 / 381.8 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.01392, allocations: 0 / 381.8 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.01393, allocations: 4 kB / 381.9 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.01393, allocations: 3.938 kB / 381.9 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01393, allocations: 4 kB / 381.9 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001795/0.01411, allocations: 247.8 kB / 382.1 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.36e-05/0.01413, allocations: 19.83 kB / 382.1 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.529e-05/0.01414, allocations: 4 kB / 382.1 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.154e-05/0.01416, allocations: 3.938 kB / 382.1 MB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.815e-05/0.01418, allocations: 7.938 kB / 382.1 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-06/0.01419, allocations: 4 kB / 382.1 MB, free: 14.05 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.435e-05/0.01424, allocations: 154 kB / 382.3 MB, free: 13.9 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01424, allocations: 0 / 382.3 MB, free: 13.9 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006231/0.01487, allocations: 331.3 kB / 382.6 MB, free: 13.58 MB / 362.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.0006897/0.01556, allocations: 409.9 kB / 383 MB, free: 13.17 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001929/0.01575, allocations: 214.4 kB / 383.2 MB, free: 12.93 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.01575, allocations: 0 / 383.2 MB, free: 12.93 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.623e-05/0.01583, allocations: 148.7 kB / 383.4 MB, free: 12.76 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001643/0.01599, allocations: 17.77 kB / 383.4 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005476/0.01654, allocations: 347.2 kB / 383.7 MB, free: 12.38 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.843e-05/0.01658, allocations: 71.33 kB / 383.8 MB, free: 12.29 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.922e-05/0.0166, allocations: 4 kB / 383.8 MB, free: 12.29 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.421e-05/0.01661, allocations: 8.5 kB / 383.8 MB, free: 12.28 MB / 362.7 MB Notification: Performance of SimCode: time 8.51e-07/0.01661, allocations: 0 / 383.8 MB, free: 12.28 MB / 362.7 MB [CodegenCFunctions.tpl:6359:13-6359: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.8356780759058893]