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.001058/0.001058, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001149/0.001149, allocations: 160.5 kB / 24.99 MB, free: 9.316 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.9348/0.9348, allocations: 177.1 MB / 205.3 MB, free: 5.582 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.2485/0.2485, allocations: 29.42 MB / 291.2 MB, free: 2.5 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.703e-06/1.703e-06, allocations: 0 / 369.6 MB, free: 11.31 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.644e-05/1.814e-05, allocations: 2.312 kB / 369.6 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat): time 0.002607/0.002625, allocations: 2.312 MB / 372 MB, free: 8.969 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002457/0.005082, allocations: 1.961 MB / 373.9 MB, free: 6.996 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.653e-05/0.005159, allocations: 0 / 373.9 MB, free: 6.996 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001514/0.00531, allocations: 23.84 kB / 373.9 MB, free: 6.973 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001028/0.005413, allocations: 39.75 kB / 374 MB, free: 6.934 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002139/0.007552, allocations: 0.9544 MB / 374.9 MB, free: 5.977 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000152/0.007704, allocations: 99.55 kB / 375 MB, free: 5.879 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.382e-05/0.007758, allocations: 4 kB / 375 MB, free: 5.875 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001621/0.00792, allocations: 51.88 kB / 375.1 MB, free: 5.824 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.38e-05/0.008004, allocations: 55.81 kB / 375.1 MB, free: 5.77 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.224e-05/0.008016, allocations: 4 kB / 375.1 MB, free: 5.766 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002245/0.01026, allocations: 1.851 MB / 377 MB, free: 3.91 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.067e-05/0.01032, allocations: 31.92 kB / 377 MB, free: 3.879 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.64e-05/0.01037, allocations: 23.92 kB / 377 MB, free: 3.855 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001599/0.01197, allocations: 1.484 MB / 378.5 MB, free: 2.367 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.01197, allocations: 4 kB / 378.5 MB, free: 2.363 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.01197, allocations: 7.984 kB / 378.5 MB, free: 2.355 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.01198, allocations: 0 / 378.5 MB, free: 2.355 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.0005258/0.0125, allocations: 0.563 MB / 379.1 MB, free: 1.75 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.01254, allocations: 11.98 kB / 379.1 MB, free: 1.738 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.037e-05/0.01259, allocations: 24.83 kB / 379.1 MB, free: 1.715 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/0.01274, allocations: 136.4 kB / 379.3 MB, free: 1.555 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.01275, allocations: 384 / 379.3 MB, free: 1.555 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.054e-05/0.01276, allocations: 384 / 379.3 MB, free: 1.555 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001254/0.01288, allocations: 90.38 kB / 379.4 MB, free: 1.457 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.513e-06/0.01289, allocations: 0 / 379.4 MB, free: 1.457 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.0129, allocations: 4 kB / 379.4 MB, free: 1.453 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.01291, allocations: 4 kB / 379.4 MB, free: 1.449 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.862e-05/0.01295, allocations: 49.69 kB / 379.4 MB, free: 1.395 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001105/0.01306, allocations: 136.5 kB / 379.6 MB, free: 1.227 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.748e-05/0.01313, allocations: 76.69 kB / 379.6 MB, free: 1.133 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.142e-05/0.01317, allocations: 57.41 kB / 379.7 MB, free: 1.066 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.228e-06/0.01317, allocations: 0 / 379.7 MB, free: 1.066 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.0132, allocations: 37.39 kB / 379.7 MB, free: 1.02 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 7.31e-07/0.0132, allocations: 0 / 379.7 MB, free: 1.02 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.0002564/0.01345, allocations: 226.8 kB / 379.9 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/0.01349, allocations: 89.09 kB / 380 MB, free: 0.668 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.0136, allocations: 216.6 kB / 380.2 MB, free: 452 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.099e-05/0.01361, allocations: 25.7 kB / 380.3 MB, free: 420 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.883e-05/0.01366, allocations: 147.1 kB / 380.4 MB, free: 268 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.556e-05/0.01371, allocations: 47.58 kB / 380.5 MB, free: 220 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.595e-05/0.01374, allocations: 35.36 kB / 380.5 MB, free: 176 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.01386, allocations: 0.4962 MB / 381 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.394e-05/0.01391, allocations: 45.69 kB / 381 MB, free: 15.61 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.398e-05/0.01394, allocations: 53.62 kB / 381.1 MB, free: 15.55 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.802e-05/0.01403, allocations: 114.8 kB / 381.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.01403, allocations: 4 kB / 381.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001328/0.01416, allocations: 164.9 kB / 381.4 MB, free: 15.25 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.954e-05/0.0142, allocations: 53.69 kB / 381.4 MB, free: 15.19 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.01421, allocations: 0 / 381.4 MB, free: 15.19 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.01422, allocations: 7.984 kB / 381.4 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.02e-07/0.01422, allocations: 0 / 381.4 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.01423, allocations: 0 / 381.4 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.178e-05/0.01427, allocations: 11.94 kB / 381.4 MB, free: 15.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.681e-05/0.01429, allocations: 7.984 kB / 381.4 MB, free: 15.16 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 8.743e-05/0.01438, allocations: 198.3 kB / 381.6 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.841e-05/0.01439, allocations: 19.91 kB / 381.7 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.769e-05/0.01441, allocations: 20.7 kB / 381.7 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.01441, allocations: 4 kB / 381.7 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.01442, allocations: 0 / 381.7 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.01442, allocations: 0 / 381.7 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.073e-05/0.0145, allocations: 140.6 kB / 381.8 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.0145, allocations: 0 / 381.8 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.52e-07/0.0145, allocations: 0 / 381.8 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.0145, allocations: 0 / 381.8 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.01451, allocations: 4 kB / 381.8 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.01452, allocations: 3.938 kB / 381.8 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.01452, allocations: 0 / 381.8 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002022/0.01472, allocations: 247.7 kB / 382.1 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.346e-05/0.01473, allocations: 23.88 kB / 382.1 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.01475, allocations: 4 kB / 382.1 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.44e-05/0.01477, allocations: 3.938 kB / 382.1 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.704e-05/0.01479, allocations: 7.984 kB / 382.1 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.0148, allocations: 4 kB / 382.1 MB, free: 14.41 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.528e-05/0.01485, allocations: 154 kB / 382.3 MB, free: 14.26 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01485, allocations: 0 / 382.3 MB, free: 14.26 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005988/0.01545, allocations: 327.3 kB / 382.6 MB, free: 13.94 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.000691/0.01614, allocations: 413.1 kB / 383 MB, free: 13.53 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002123/0.01635, allocations: 214.4 kB / 383.2 MB, free: 13.29 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.01636, allocations: 0 / 383.2 MB, free: 13.29 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.385e-05/0.01644, allocations: 152.7 kB / 383.3 MB, free: 13.12 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001939/0.01663, allocations: 19.48 kB / 383.4 MB, free: 13.1 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006091/0.01724, allocations: 339.4 kB / 383.7 MB, free: 12.74 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.871e-05/0.01728, allocations: 71.33 kB / 383.8 MB, free: 12.65 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.909e-05/0.0173, allocations: 4 kB / 383.8 MB, free: 12.64 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.479e-05/0.01732, allocations: 8.5 kB / 383.8 MB, free: 12.64 MB / 362.7 MB Notification: Performance of SimCode: time 1.333e-06/0.01732, allocations: 0 / 383.8 MB, free: 12.64 MB / 362.7 MB [CodegenCFunctions.tpl:5910:13-5910: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.7734613679349422]