Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.NamsskoganGrid.Grid_Model.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.NamsskoganGrid.Grid_Model,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.NamsskoganGrid.Grid_Model") translateModel(OpenIPSL.Examples.NamsskoganGrid.Grid_Model,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.NamsskoganGrid.Grid_Model") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 115.3 kB / 16.42 MB, free: 6.02 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 222.9 MB / 240.1 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 184.5 kB / 290.4 MB, free: 2.273 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5157/0.5157, allocations: 91.9 MB / 432.4 MB, free: 9.164 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 77.55 kB / 0.5736 GB, free: 33.61 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1222, allocations: 71.28 MB / 0.6432 GB, free: 3.434 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.NamsskoganGrid.Grid_Model): time 0.03238/0.1546, allocations: 41.05 MB / 0.6833 GB, free: 10.21 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0238/0.1784, allocations: 10.38 MB / 0.6934 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009185/0.1877, allocations: 99.75 kB / 0.6935 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.006743/0.1945, allocations: 1.781 MB / 0.6952 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01674/0.2112, allocations: 4.527 MB / 0.6997 GB, free: 9.375 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01259/0.2239, allocations: 4.779 MB / 0.7043 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01959/0.2435, allocations: 14.35 MB / 0.7183 GB, free: 6.23 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007943/0.2514, allocations: 4.157 MB / 0.7224 GB, free: 1.977 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0101/0.2616, allocations: 5.891 MB / 0.7281 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01076/0.2724, allocations: 7.313 MB / 0.7353 GB, free: 4.715 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.005217/0.2776, allocations: 1.207 MB / 0.7365 GB, free: 3.508 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005162/0.2828, allocations: 1.379 MB / 0.7378 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.004915/0.2877, allocations: 3.024 MB / 0.7408 GB, free: 15.1 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.009666/0.2974, allocations: 5.866 MB / 0.7465 GB, free: 9.199 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01929/0.3167, allocations: 14.25 MB / 0.7604 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.3168, allocations: 0 / 0.7604 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3168, allocations: 0 / 0.7604 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0005212/0.3173, allocations: 0 / 0.7604 GB, free: 10.89 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1754 * Number of variables: 1754 Notification: Performance of Generate backend data structure: time 0.6131/0.9304, allocations: 18.92 MB / 0.7789 GB, free: 54.41 MB / 0.5607 GB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/0.9305, allocations: 11.7 kB / 0.7789 GB, free: 54.41 MB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04192/0.9724, allocations: 5.971 MB / 0.7847 GB, free: 53.78 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01751/0.99, allocations: 6.535 MB / 0.7911 GB, free: 52.25 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001254/0.9913, allocations: 1.551 MB / 0.7926 GB, free: 51.2 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002857/0.9941, allocations: 0.7591 MB / 0.7934 GB, free: 51.18 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02308/1.017, allocations: 9.252 MB / 0.8024 GB, free: 50.77 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001631/1.017, allocations: 4.125 kB / 0.8024 GB, free: 50.77 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001527/1.019, allocations: 281.8 kB / 0.8027 GB, free: 50.77 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001002/1.019, allocations: 165.4 kB / 0.8028 GB, free: 50.77 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0182/1.037, allocations: 8.276 MB / 0.8109 GB, free: 48.25 MB / 0.5607 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05689/1.094, allocations: 31.25 MB / 0.8414 GB, free: 16.71 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02997/1.124, allocations: 13.56 MB / 0.8547 GB, free: 2.621 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01089/1.135, allocations: 5.087 MB / 0.8596 GB, free: 13.5 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001184/1.136, allocations: 124.7 kB / 0.8598 GB, free: 13.39 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01465/1.151, allocations: 5.935 MB / 0.8656 GB, free: 7.371 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=786): time 1.866e-05/1.151, allocations: 4 kB / 0.8656 GB, free: 7.367 MB / 0.5763 GB Notification: Performance of matching and sorting (n=786): time 0.1081/1.259, allocations: 29.77 MB / 0.8946 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003123/1.26, allocations: 0.698 MB / 0.8953 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0176/1.277, allocations: 8.102 MB / 0.9032 GB, free: 0.5352 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.002219/1.279, allocations: 181.7 kB / 0.9034 GB, free: 360 kB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.003898/1.283, allocations: 3.731 MB / 0.9071 GB, free: 12.63 MB / 0.6232 GB Notification: Performance of collectInitialBindings (initialization): time 0.004465/1.288, allocations: 2.858 MB / 0.9098 GB, free: 9.793 MB / 0.6232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.009564/1.297, allocations: 2.093 MB / 0.9119 GB, free: 7.691 MB / 0.6232 GB Notification: Performance of setup shared object (initialization): time 8.738e-05/1.297, allocations: 305.1 kB / 0.9122 GB, free: 7.391 MB / 0.6232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01424/1.312, allocations: 5.638 MB / 0.9177 GB, free: 1.75 MB / 0.6232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01607/1.328, allocations: 6.488 MB / 0.924 GB, free: 11.25 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1965/1.524, allocations: 42.19 MB / 0.9652 GB, free: 0.5547 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.425e-05/1.524, allocations: 4 kB / 0.9652 GB, free: 0.5508 MB / 0.67 GB Notification: Performance of matching and sorting (n=1520) (initialization): time 0.07788/1.602, allocations: 23.06 MB / 0.9877 GB, free: 9.406 MB / 0.7013 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003183/1.603, allocations: 0.5912 MB / 0.9883 GB, free: 8.68 MB / 0.7013 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.026e-05/1.603, allocations: 4 kB / 0.9883 GB, free: 8.676 MB / 0.7013 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03929/1.642, allocations: 8.792 MB / 0.9969 GB, free: 15.82 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02568/1.668, allocations: 4.196 MB / 1.001 GB, free: 11.73 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08876/1.757, allocations: 46.7 MB / 1.047 GB, free: 11.36 MB / 0.7638 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01641/1.773, allocations: 1.404 MB / 1.048 GB, free: 9.945 MB / 0.7638 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002572/1.776, allocations: 407.8 kB / 1.048 GB, free: 9.547 MB / 0.7638 GB Warning: Assuming fixed start value for the following 12 variables: syn1.delta:VARIABLE(flow=false start = syn1.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real syn1.e1d:VARIABLE(start = syn1.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real aVR1.firstOrder2.y:VARIABLE(flow=false start = aVR1.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real syn2.delta:VARIABLE(flow=false start = syn2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real syn3.delta:VARIABLE(flow=false start = syn3.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real syn3.e1d:VARIABLE(start = syn3.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real aVR3.firstOrder2.y:VARIABLE(flow=false start = aVR3.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real syn4.delta:VARIABLE(flow=false start = syn4.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real syn4.e1d:VARIABLE(start = syn4.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real syn8.delta:VARIABLE(flow=false start = syn8.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real syn8.e1d:VARIABLE(start = syn8.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real aVR8.firstOrder2.y:VARIABLE(flow=false start = aVR8.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 22 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3,$whenCondition6,$whenCondition5,$whenCondition8,$whenCondition7,$whenCondition10,$whenCondition9,$whenCondition12,$whenCondition11,$whenCondition14,$whenCondition13,$whenCondition16,$whenCondition15,$whenCondition18,$whenCondition17,$whenCondition20,$whenCondition19,$whenCondition22,$whenCondition21) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1324): * Single equations (assignments): 1269 * Array equations: 0 * Algorithm blocks: 22 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 20 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 20 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(4,2,75.0%), (1,1,100.0%), (2,8,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 7 systems {(8,22), (23,35), (8,22), (10,22), (1,4), (1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.005753/1.781, allocations: 1.838 MB / 1.05 GB, free: 7.758 MB / 0.7638 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002962/1.784, allocations: 0.9106 MB / 1.051 GB, free: 6.836 MB / 0.7638 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3619/2.146, allocations: 24.18 MB / 1.075 GB, free: 278.4 MB / 0.7638 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001967/2.146, allocations: 42.47 kB / 1.075 GB, free: 278.4 MB / 0.7638 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-05/2.147, allocations: 3.75 kB / 1.075 GB, free: 278.4 MB / 0.7638 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003284/2.15, allocations: 1.209 MB / 1.076 GB, free: 278.3 MB / 0.7638 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003444/2.153, allocations: 159.8 kB / 1.076 GB, free: 278.3 MB / 0.7638 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01096/2.164, allocations: 0.7332 MB / 1.077 GB, free: 278.3 MB / 0.7638 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.009973/2.174, allocations: 2.448 MB / 1.079 GB, free: 278.3 MB / 0.7638 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.05471/2.229, allocations: 17.62 MB / 1.096 GB, free: 273.2 MB / 0.7638 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.03042/2.259, allocations: 16.22 MB / 1.112 GB, free: 266.2 MB / 0.7638 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.009765/2.269, allocations: 4.492 MB / 1.117 GB, free: 264.5 MB / 0.7638 GB Notification: Performance of sorting global known variables: time 0.008907/2.278, allocations: 5.47 MB / 1.122 GB, free: 260.4 MB / 0.7638 GB Notification: Performance of Backend: time 1.343e-06/2.278, allocations: 0 / 1.122 GB, free: 260.4 MB / 0.7638 GB Notification: Performance of simCode: created initialization part: time 0.04004/2.318, allocations: 16.22 MB / 1.138 GB, free: 243.8 MB / 0.7638 GB Notification: Performance of SimCode: time 0.03184/2.35, allocations: 23 MB / 1.16 GB, free: 220.8 MB / 0.7638 GB Notification: Performance of Templates: time 0.2051/2.555, allocations: 165.2 MB / 1.322 GB, free: 56.32 MB / 0.7638 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.NamsskoganGrid.Grid_Model.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.NamsskoganGrid.Grid_Model.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.NamsskoganGrid.Grid_Model.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.NamsskoganGrid.Grid_Model.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.NamsskoganGrid.Grid_Model.sim & ./OpenIPSL_dev_OpenIPSL.Examples.NamsskoganGrid.Grid_Model -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.NamsskoganGrid.Grid_Model.pipe 2>&1)