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.0008967/0.0008967, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.001285/0.001285, allocations: 161.4 kB / 24.56 MB, free: 20 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.9929/0.9929, allocations: 177.1 MB / 205 MB, free: 5.285 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.2641/0.2641, allocations: 29.41 MB / 290.9 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: translateModel(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc") translateModel(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 369.7 MB, free: 11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.613e-05/1.743e-05, allocations: 2.312 kB / 369.7 MB, free: 11 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc): time 0.002205/0.002223, allocations: 2.32 MB / 372 MB, free: 8.652 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001151/0.003374, allocations: 1.06 MB / 373 MB, free: 7.59 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.562e-05/0.00342, allocations: 4 kB / 373 MB, free: 7.586 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001305/0.00355, allocations: 19.84 kB / 373.1 MB, free: 7.566 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001006/0.003651, allocations: 51.72 kB / 373.1 MB, free: 7.516 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007484/0.004399, allocations: 342.8 kB / 373.4 MB, free: 7.18 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001242/0.004523, allocations: 119.5 kB / 373.6 MB, free: 7.062 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.555e-05/0.004559, allocations: 3.984 kB / 373.6 MB, free: 7.059 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001271/0.004686, allocations: 63.81 kB / 373.6 MB, free: 6.996 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.96e-05/0.004766, allocations: 67.77 kB / 373.7 MB, free: 6.93 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.09e-05/0.004776, allocations: 8 kB / 373.7 MB, free: 6.922 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005414/0.005318, allocations: 0.5727 MB / 374.3 MB, free: 6.348 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.542e-05/0.005363, allocations: 35.91 kB / 374.3 MB, free: 6.312 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.775e-05/0.005401, allocations: 27.88 kB / 374.3 MB, free: 6.285 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004679/0.005869, allocations: 0.5649 MB / 374.9 MB, free: 5.719 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.005871, allocations: 0 / 374.9 MB, free: 5.719 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.005872, allocations: 0 / 374.9 MB, free: 5.719 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.907e-06/0.005881, allocations: 0 / 374.9 MB, free: 5.719 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003598/0.006241, allocations: 489.5 kB / 375.4 MB, free: 5.199 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.006276, allocations: 11.98 kB / 375.4 MB, free: 5.188 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.933e-05/0.006315, allocations: 20.84 kB / 375.4 MB, free: 5.168 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.00643, allocations: 128.5 kB / 375.5 MB, free: 5.016 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.412e-06/0.006437, allocations: 384 / 375.5 MB, free: 5.016 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.226e-05/0.006449, allocations: 4.375 kB / 375.5 MB, free: 5.012 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001208/0.00657, allocations: 107.8 kB / 375.6 MB, free: 4.895 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.006576, allocations: 3.938 kB / 375.6 MB, free: 4.891 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.246e-06/0.006584, allocations: 0 / 375.6 MB, free: 4.891 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.006589, allocations: 0 / 375.6 MB, free: 4.891 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.291e-05/0.006632, allocations: 61.69 kB / 375.7 MB, free: 4.824 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.859e-05/0.006731, allocations: 136.5 kB / 375.8 MB, free: 4.656 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.908e-05/0.0068, allocations: 92.75 kB / 375.9 MB, free: 4.547 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.931e-05/0.006849, allocations: 73.39 kB / 376 MB, free: 4.465 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.969e-06/0.006854, allocations: 4 kB / 376 MB, free: 4.461 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.934e-05/0.006873, allocations: 41.27 kB / 376 MB, free: 4.41 MB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 6.21e-07/0.006874, allocations: 0 / 376 MB, free: 4.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=20): time 0.00025/0.007124, allocations: 286.9 kB / 376.3 MB, free: 4.105 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.595e-05/0.00716, allocations: 93.09 kB / 376.4 MB, free: 3.996 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.18e-05/0.007242, allocations: 189.9 kB / 376.6 MB, free: 3.793 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.207e-06/0.007251, allocations: 25.7 kB / 376.6 MB, free: 3.762 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.024e-05/0.007291, allocations: 139.2 kB / 376.8 MB, free: 3.621 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.685e-05/0.007338, allocations: 67.42 kB / 376.8 MB, free: 3.555 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.457e-05/0.007372, allocations: 39.39 kB / 376.9 MB, free: 3.508 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.007476, allocations: 0.4962 MB / 377.4 MB, free: 3 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.534e-05/0.007521, allocations: 61.69 kB / 377.4 MB, free: 2.934 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.155e-05/0.007562, allocations: 75.11 kB / 377.5 MB, free: 2.855 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001044/0.007667, allocations: 153.3 kB / 377.6 MB, free: 2.691 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.007669, allocations: 0 / 377.6 MB, free: 2.691 MB / 346.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001463/0.007815, allocations: 205 kB / 377.8 MB, free: 2.473 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.702e-05/0.007852, allocations: 56.64 kB / 377.9 MB, free: 2.414 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.007856, allocations: 0 / 377.9 MB, free: 2.414 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.007867, allocations: 3.938 kB / 377.9 MB, free: 2.41 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.405e-06/0.00787, allocations: 4.062 kB / 377.9 MB, free: 2.406 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.007875, allocations: 0 / 377.9 MB, free: 2.406 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.67e-05/0.007912, allocations: 15.89 kB / 377.9 MB, free: 2.391 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.744e-05/0.007929, allocations: 4 kB / 377.9 MB, free: 2.387 MB / 346.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.413e-05/0.008013, allocations: 214.2 kB / 378.1 MB, free: 2.16 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.685e-05/0.00803, allocations: 19.95 kB / 378.2 MB, free: 2.141 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.219e-05/0.008042, allocations: 9.062 kB / 378.2 MB, free: 2.133 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.008045, allocations: 7.938 kB / 378.2 MB, free: 2.125 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.008048, allocations: 0 / 378.2 MB, free: 2.125 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.008052, allocations: 3.984 kB / 378.2 MB, free: 2.121 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.83e-05/0.00812, allocations: 144.6 kB / 378.3 MB, free: 1.945 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.008122, allocations: 4 kB / 378.3 MB, free: 1.941 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.01e-07/0.008122, allocations: 0 / 378.3 MB, free: 1.941 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.72e-07/0.008123, allocations: 0 / 378.3 MB, free: 1.941 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.008133, allocations: 4 kB / 378.3 MB, free: 1.938 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.8e-07/0.008134, allocations: 0 / 378.3 MB, free: 1.938 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.624e-06/0.008135, allocations: 3.938 kB / 378.3 MB, free: 1.934 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002206/0.008356, allocations: 326.9 kB / 378.7 MB, free: 1.582 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.779e-06/0.008366, allocations: 15.83 kB / 378.7 MB, free: 1.566 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.292e-05/0.008379, allocations: 4 kB / 378.7 MB, free: 1.562 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.976e-05/0.008398, allocations: 4 kB / 378.7 MB, free: 1.559 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.979e-05/0.008418, allocations: 19.95 kB / 378.7 MB, free: 1.539 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.008426, allocations: 4 kB / 378.7 MB, free: 1.535 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.272e-05/0.008468, allocations: 143.1 kB / 378.8 MB, free: 1.395 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008468, allocations: 3.938 kB / 378.8 MB, free: 1.391 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002437/0.008712, allocations: 131.8 kB / 379 MB, free: 1.262 MB / 346.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.0003006/0.009013, allocations: 200.8 kB / 379.2 MB, free: 1.059 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002148/0.009228, allocations: 286.4 kB / 379.4 MB, free: 0.75 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.009229, allocations: 0 / 379.4 MB, free: 0.75 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.778e-05/0.009327, allocations: 192.8 kB / 379.6 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001476/0.009474, allocations: 16 kB / 379.7 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004212/0.009896, allocations: 368.1 kB / 380 MB, free: 128 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.141e-05/0.009937, allocations: 75.33 kB / 380.1 MB, free: 32 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.44e-05/0.009951, allocations: 3.984 kB / 380.1 MB, free: 28 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.149e-05/0.009963, allocations: 12.56 kB / 380.1 MB, free: 16 kB / 346.7 MB Notification: Performance of SimCode: time 6.82e-07/0.009964, allocations: 0 / 380.1 MB, free: 16 kB / 346.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.8688555439002812]