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.001883/0.001883, allocations: 95.61 kB / 20.96 MB, free: 3.453 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.002023/0.002023, allocations: 161.3 kB / 24.27 MB, free: 148 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 1.581/1.581, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.3104/0.3104, allocations: 29.42 MB / 290.5 MB, free: 2.426 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.413e-06/1.413e-06, allocations: 0 / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.741e-05/2.883e-05, allocations: 2.312 kB / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat): time 0.003861/0.00389, allocations: 2.273 MB / 371.2 MB, free: 9.008 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00375/0.00764, allocations: 1.965 MB / 373.1 MB, free: 7.031 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.085e-05/0.0077, allocations: 0 / 373.1 MB, free: 7.031 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001393/0.00784, allocations: 11.91 kB / 373.1 MB, free: 7.02 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001195/0.007959, allocations: 43.7 kB / 373.2 MB, free: 6.977 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003079/0.01104, allocations: 0.9622 MB / 374.2 MB, free: 6.012 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001935/0.01123, allocations: 91.56 kB / 374.2 MB, free: 5.922 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.034e-05/0.01127, allocations: 12 kB / 374.3 MB, free: 5.91 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001807/0.01145, allocations: 55.86 kB / 374.3 MB, free: 5.855 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001093/0.01156, allocations: 51.81 kB / 374.4 MB, free: 5.805 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.788e-05/0.01158, allocations: 4 kB / 374.4 MB, free: 5.801 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003412/0.01499, allocations: 1.851 MB / 376.2 MB, free: 3.945 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.082e-05/0.01506, allocations: 31.92 kB / 376.2 MB, free: 3.914 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.146e-05/0.01511, allocations: 19.92 kB / 376.3 MB, free: 3.895 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002315/0.01743, allocations: 1.488 MB / 377.8 MB, free: 2.402 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.451e-05/0.01744, allocations: 3.984 kB / 377.8 MB, free: 2.398 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.01744, allocations: 0 / 377.8 MB, free: 2.398 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.01745, allocations: 0 / 377.8 MB, free: 2.398 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.0008168/0.01827, allocations: 0.5704 MB / 378.3 MB, free: 1.785 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.01831, allocations: 15.97 kB / 378.3 MB, free: 1.77 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.69e-05/0.01838, allocations: 16.84 kB / 378.4 MB, free: 1.754 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000214/0.01859, allocations: 136.4 kB / 378.5 MB, free: 1.594 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.01861, allocations: 4.375 kB / 378.5 MB, free: 1.59 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.343e-05/0.01862, allocations: 4.359 kB / 378.5 MB, free: 1.586 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001644/0.01879, allocations: 91.5 kB / 378.6 MB, free: 1.484 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.01879, allocations: 0 / 378.6 MB, free: 1.484 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.0188, allocations: 0 / 378.6 MB, free: 1.484 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.01881, allocations: 0 / 378.6 MB, free: 1.484 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.483e-05/0.01888, allocations: 49.69 kB / 378.6 MB, free: 1.43 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001803/0.01906, allocations: 140.5 kB / 378.8 MB, free: 1.258 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001211/0.01918, allocations: 76.69 kB / 378.8 MB, free: 1.164 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.436e-05/0.01926, allocations: 57.41 kB / 378.9 MB, free: 1.098 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.235e-05/0.01927, allocations: 4 kB / 378.9 MB, free: 1.094 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.967e-05/0.01931, allocations: 33.39 kB / 378.9 MB, free: 1.051 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 1.102e-06/0.01931, allocations: 4 kB / 378.9 MB, free: 1.047 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003996/0.01971, allocations: 222.9 kB / 379.2 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.713e-05/0.01979, allocations: 93.09 kB / 379.3 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001925/0.01998, allocations: 208.1 kB / 379.5 MB, free: 488 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.02, allocations: 25.7 kB / 379.5 MB, free: 456 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.02011, allocations: 151.1 kB / 379.6 MB, free: 300 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.526e-05/0.02017, allocations: 43.59 kB / 379.7 MB, free: 256 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.765e-05/0.02023, allocations: 31.36 kB / 379.7 MB, free: 216 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003024/0.02053, allocations: 0.5001 MB / 380.2 MB, free: 15.7 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.794e-05/0.0206, allocations: 45.69 kB / 380.2 MB, free: 15.65 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.052e-05/0.02066, allocations: 49.69 kB / 380.3 MB, free: 15.59 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/0.02081, allocations: 123 kB / 380.4 MB, free: 15.46 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.02081, allocations: 0 / 380.4 MB, free: 15.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002204/0.02103, allocations: 165 kB / 380.6 MB, free: 15.28 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002085/0.02124, allocations: 49.62 kB / 380.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.02124, allocations: 0 / 380.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.02126, allocations: 7.875 kB / 380.6 MB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.212e-06/0.02126, allocations: 0 / 380.6 MB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.02126, allocations: 0 / 380.6 MB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.985e-05/0.02132, allocations: 7.938 kB / 380.6 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.809e-05/0.02136, allocations: 7.984 kB / 380.6 MB, free: 15.2 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 0.0001662/0.02153, allocations: 206.3 kB / 380.9 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.236e-05/0.02156, allocations: 19.91 kB / 380.9 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.126e-05/0.02158, allocations: 16.7 kB / 380.9 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.02158, allocations: 0 / 380.9 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.02159, allocations: 0 / 380.9 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.02159, allocations: 4 kB / 380.9 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001407/0.02173, allocations: 140.5 kB / 381 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.02173, allocations: 0 / 381 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.91e-07/0.02173, allocations: 0 / 381 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.561e-06/0.02174, allocations: 4 kB / 381 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.02175, allocations: 4 kB / 381 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.239e-06/0.02175, allocations: 11.94 kB / 381 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.02175, allocations: 0 / 381 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003275/0.02208, allocations: 247.7 kB / 381.3 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.3e-05/0.02211, allocations: 15.84 kB / 381.3 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.248e-05/0.02213, allocations: 4 kB / 381.3 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.271e-05/0.02217, allocations: 7.938 kB / 381.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.334e-05/0.02219, allocations: 3.984 kB / 381.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/0.02221, allocations: 8 kB / 381.3 MB, free: 14.44 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001184/0.02233, allocations: 158.1 kB / 381.5 MB, free: 14.29 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02233, allocations: 0 / 381.5 MB, free: 14.29 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008702/0.0232, allocations: 327.4 kB / 381.8 MB, free: 13.96 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.0009862/0.02418, allocations: 409.2 kB / 382.2 MB, free: 13.56 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003346/0.02452, allocations: 226.4 kB / 382.4 MB, free: 13.31 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.02452, allocations: 0 / 382.4 MB, free: 13.31 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001723/0.02469, allocations: 156.8 kB / 382.6 MB, free: 13.13 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002151/0.02491, allocations: 23.34 kB / 382.6 MB, free: 13.11 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005602/0.02547, allocations: 335.4 kB / 382.9 MB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001139/0.02558, allocations: 100.2 kB / 383 MB, free: 12.64 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.111e-05/0.0256, allocations: 3.984 kB / 383 MB, free: 12.63 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.933e-05/0.02562, allocations: 12.5 kB / 383 MB, free: 12.62 MB / 362.7 MB Notification: Performance of SimCode: time 5.61e-07/0.02562, allocations: 0 / 383 MB, free: 12.62 MB / 362.7 MB [CodegenCFunctions.tpl:5886:13-5886: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.565006681950763]