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.001327/0.001327, allocations: 108.3 kB / 16.41 MB, free: 6.473 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.344/1.344, allocations: 222.9 MB / 240.1 MB, free: 4.348 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.001512/0.001512, allocations: 184.5 kB / 290.4 MB, free: 2.086 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5074/0.5074, allocations: 91.9 MB / 432.4 MB, free: 9.145 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001619/0.001619, allocations: 80.22 kB / 0.5736 GB, free: 33.6 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1333, allocations: 71.28 MB / 0.6432 GB, free: 3.402 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.NamsskoganGrid.Grid_Model): time 0.03229/0.1656, allocations: 41.06 MB / 0.6833 GB, free: 10.17 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02287/0.1885, allocations: 10.38 MB / 0.6934 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01012/0.1987, allocations: 103.7 kB / 0.6935 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.006876/0.2056, allocations: 1.773 MB / 0.6952 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01773/0.2234, allocations: 4.526 MB / 0.6997 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01258/0.236, allocations: 4.78 MB / 0.7043 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.02155/0.2576, allocations: 14.35 MB / 0.7183 GB, free: 6.199 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009418/0.267, allocations: 4.169 MB / 0.7224 GB, free: 1.934 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01309/0.2802, allocations: 5.887 MB / 0.7282 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01217/0.2924, allocations: 7.313 MB / 0.7353 GB, free: 4.68 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.005775/0.2982, allocations: 1.211 MB / 0.7365 GB, free: 3.469 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006097/0.3043, allocations: 1.375 MB / 0.7378 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.005455/0.3098, allocations: 3.031 MB / 0.7408 GB, free: 15.05 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.01067/0.3205, allocations: 5.862 MB / 0.7465 GB, free: 9.156 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.02122/0.3417, allocations: 14.3 MB / 0.7605 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 9.708e-06/0.3418, allocations: 3.984 kB / 0.7605 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.916e-06/0.3418, allocations: 4 kB / 0.7605 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0006891/0.3425, allocations: 0 / 0.7605 GB, free: 10.79 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.643/0.9855, allocations: 19.25 MB / 0.7793 GB, free: 100.6 MB / 0.5607 GB Notification: Performance of prepare preOptimizeDAE: time 6.249e-05/0.9856, allocations: 11.66 kB / 0.7793 GB, free: 100.6 MB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04038/1.026, allocations: 6.032 MB / 0.7852 GB, free: 99.87 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0168/1.043, allocations: 6.605 MB / 0.7916 GB, free: 96.48 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001519/1.044, allocations: 1.545 MB / 0.7932 GB, free: 95.13 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003228/1.048, allocations: 0.7637 MB / 0.7939 GB, free: 94.86 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02411/1.072, allocations: 9.255 MB / 0.8029 GB, free: 89.55 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002721/1.072, allocations: 7.875 kB / 0.8029 GB, free: 89.54 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002015/1.074, allocations: 282.4 kB / 0.8032 GB, free: 89.32 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001242/1.074, allocations: 163.6 kB / 0.8034 GB, free: 89.32 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01819/1.092, allocations: 8.282 MB / 0.8115 GB, free: 85.13 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.05897/1.151, allocations: 31.31 MB / 0.842 GB, free: 52.64 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02775/1.179, allocations: 13.56 MB / 0.8553 GB, free: 38.52 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01013/1.189, allocations: 5.086 MB / 0.8602 GB, free: 33.39 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001311/1.191, allocations: 128.9 kB / 0.8604 GB, free: 33.29 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01229/1.203, allocations: 5.937 MB / 0.8662 GB, free: 27.25 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=786): time 1.49e-05/1.203, allocations: 0 / 0.8662 GB, free: 27.25 MB / 0.5607 GB Notification: Performance of matching and sorting (n=786): time 0.0917/1.295, allocations: 29.82 MB / 0.8953 GB, free: 13.06 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003315/1.295, allocations: 0.6943 MB / 0.896 GB, free: 12.21 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01741/1.313, allocations: 8.115 MB / 0.9039 GB, free: 4.184 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.002388/1.315, allocations: 181.7 kB / 0.9041 GB, free: 4 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.003492/1.319, allocations: 3.784 MB / 0.9077 GB, free: 236 kB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.004451/1.323, allocations: 2.991 MB / 0.9107 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008643/1.332, allocations: 2.093 MB / 0.9127 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 8.512e-05/1.332, allocations: 305.1 kB / 0.913 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01266/1.345, allocations: 5.638 MB / 0.9185 GB, free: 5.23 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01361/1.358, allocations: 6.488 MB / 0.9248 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1813/1.539, allocations: 42.19 MB / 0.966 GB, free: 3.965 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001112/1.54, allocations: 4 kB / 0.9661 GB, free: 3.961 MB / 0.6388 GB Notification: Performance of matching and sorting (n=1520) (initialization): time 0.07082/1.61, allocations: 23.12 MB / 0.9886 GB, free: 12.59 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003318/1.611, allocations: 0.5834 MB / 0.9892 GB, free: 11.87 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.424e-05/1.611, allocations: 0 / 0.9892 GB, free: 11.87 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03658/1.647, allocations: 8.799 MB / 0.9978 GB, free: 2.969 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02346/1.671, allocations: 4.193 MB / 1.002 GB, free: 14.77 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4402/2.111, allocations: 46.75 MB / 1.048 GB, free: 223.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01711/2.128, allocations: 1.429 MB / 1.049 GB, free: 223.6 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003725/2.132, allocations: 403.6 kB / 1.049 GB, free: 223.6 MB / 0.7169 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.00886/2.141, allocations: 1.83 MB / 1.051 GB, free: 223.1 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004674/2.146, allocations: 0.9503 MB / 1.052 GB, free: 223.1 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08155/2.227, allocations: 24.19 MB / 1.076 GB, free: 221.5 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003592/2.228, allocations: 42.53 kB / 1.076 GB, free: 221.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.627e-05/2.228, allocations: 3.938 kB / 1.076 GB, free: 221.5 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004097/2.232, allocations: 1.258 MB / 1.077 GB, free: 221.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004621/2.236, allocations: 154.4 kB / 1.077 GB, free: 221.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01188/2.248, allocations: 0.7303 MB / 1.078 GB, free: 221 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.01136/2.26, allocations: 2.461 MB / 1.08 GB, free: 220.5 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.05692/2.317, allocations: 17.64 MB / 1.097 GB, free: 214.2 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.03835/2.355, allocations: 16.29 MB / 1.113 GB, free: 206.2 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01075/2.366, allocations: 4.487 MB / 1.118 GB, free: 202.2 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.01088/2.377, allocations: 5.467 MB / 1.123 GB, free: 197.7 MB / 0.7169 GB Notification: Performance of Backend: time 1.242e-06/2.377, allocations: 0 / 1.123 GB, free: 197.7 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.04672/2.424, allocations: 16.27 MB / 1.139 GB, free: 180.7 MB / 0.7169 GB Notification: Performance of SimCode: time 0.03705/2.461, allocations: 23.43 MB / 1.162 GB, free: 157.2 MB / 0.7169 GB Notification: Performance of Templates: time 0.5451/3.006, allocations: 165.2 MB / 1.323 GB, free: 226.6 MB / 0.7169 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)