Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_3.Example_3.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.Tutorial.Example_3.Example_3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_3.Example_3") translateModel(OpenIPSL.Examples.Tutorial.Example_3.Example_3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_3.Example_3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 175.8 kB / 16.08 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.31/1.31, allocations: 222.9 MB / 239.7 MB, free: 10.21 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007589/0.0007589, allocations: 93.48 kB / 290.5 MB, free: 11.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4399/0.4399, allocations: 78.42 MB / 419.6 MB, free: 9.785 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004018/0.0004016, allocations: 15.97 kB / 499.1 MB, free: 10.68 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2808/0.2812, allocations: 68.74 MB / 0.5545 GB, free: 20.26 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.Tutorial.Example_3.Example_3): time 0.01049/0.2917, allocations: 14.05 MB / 0.5682 GB, free: 6.16 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.006323/0.2981, allocations: 3.731 MB / 0.5719 GB, free: 2.414 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002314/0.3004, allocations: 27.94 kB / 0.5719 GB, free: 2.387 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001651/0.3021, allocations: 385.3 kB / 0.5723 GB, free: 2.008 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation twoWindingTransformer.m <> 1.0, <> on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation twoWindingTransformer1.m <> 1.0, <> on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation twoWindingTransformer2.m <> 1.0, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeBindings: time 0.003877/0.306, allocations: 1.257 MB / 0.5735 GB, free: 0.75 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation gen1.gen.xq <> gen1.gen.x1q, <> on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation gen2.gen.xq <> gen2.gen.x1q, <> on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation gen3.gen.xq <> gen3.gen.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.002625/0.3087, allocations: 1.243 MB / 0.5747 GB, free: 15.52 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.004343/0.313, allocations: 3.809 MB / 0.5784 GB, free: 11.7 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001339/0.3144, allocations: 0.843 MB / 0.5793 GB, free: 10.8 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001877/0.3163, allocations: 1.306 MB / 0.5805 GB, free: 9.488 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002183/0.3185, allocations: 1.687 MB / 0.5822 GB, free: 7.793 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000704/0.3192, allocations: 152 kB / 0.5823 GB, free: 7.645 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001049/0.3202, allocations: 283.9 kB / 0.5826 GB, free: 7.367 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007456/0.321, allocations: 0.5945 MB / 0.5832 GB, free: 6.77 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001735/0.3227, allocations: 1.44 MB / 0.5846 GB, free: 5.32 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003785/0.3265, allocations: 4.218 MB / 0.5887 GB, free: 1.086 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3265, allocations: 4 kB / 0.5887 GB, free: 1.082 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3266, allocations: 0 / 0.5887 GB, free: 1.082 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001324/0.3267, allocations: 0 / 0.5887 GB, free: 1.082 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 463 * Number of variables: 463 Notification: Performance of Generate backend data structure: time 0.01504/0.3417, allocations: 4.734 MB / 0.5933 GB, free: 12.24 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/0.3418, allocations: 12.03 kB / 0.5933 GB, free: 12.23 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01003/0.3518, allocations: 1.611 MB / 0.5949 GB, free: 10.61 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004214/0.3561, allocations: 2.009 MB / 0.5969 GB, free: 8.539 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004639/0.3566, allocations: 468.5 kB / 0.5973 GB, free: 8.02 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006045/0.3572, allocations: 203.9 kB / 0.5975 GB, free: 7.82 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005195/0.3624, allocations: 2.42 MB / 0.5999 GB, free: 5.375 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.018e-05/0.3624, allocations: 4 kB / 0.5999 GB, free: 5.371 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000243/0.3627, allocations: 71.98 kB / 0.5999 GB, free: 5.301 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.097e-05/0.3627, allocations: 44 kB / 0.6 GB, free: 5.258 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004503/0.3672, allocations: 2.243 MB / 0.6022 GB, free: 3.012 MB / 410.7 MB 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.0152/0.3825, allocations: 9.213 MB / 0.6112 GB, free: 9.453 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009618/0.3921, allocations: 4.409 MB / 0.6155 GB, free: 4.809 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003232/0.3954, allocations: 1.57 MB / 0.617 GB, free: 3.227 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002641/0.3957, allocations: 41.91 kB / 0.6171 GB, free: 3.184 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003259/0.3989, allocations: 1.794 MB / 0.6188 GB, free: 1.367 MB / 426.7 MB Notification: Performance of pre-optimization done (n=242): time 8.586e-06/0.399, allocations: 3.984 kB / 0.6188 GB, free: 1.363 MB / 426.7 MB Notification: Performance of matching and sorting (n=242): time 0.07417/0.4731, allocations: 18.07 MB / 0.6365 GB, free: 15.15 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001171/0.4733, allocations: 235.6 kB / 0.6367 GB, free: 14.87 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003896/0.4772, allocations: 2.511 MB / 0.6391 GB, free: 12.34 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004945/0.4777, allocations: 73.7 kB / 0.6392 GB, free: 12.26 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008701/0.4786, allocations: 1.122 MB / 0.6403 GB, free: 11.13 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009336/0.4795, allocations: 0.8589 MB / 0.6411 GB, free: 10.26 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003978/0.4799, allocations: 300.6 kB / 0.6414 GB, free: 9.957 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.644e-05/0.48, allocations: 301.1 kB / 0.6417 GB, free: 9.66 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003108/0.4831, allocations: 1.607 MB / 0.6433 GB, free: 8.051 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003548/0.4867, allocations: 1.942 MB / 0.6452 GB, free: 6.039 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.04317/0.5299, allocations: 11.24 MB / 0.6562 GB, free: 10.55 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.098e-05/0.53, allocations: 4 kB / 0.6562 GB, free: 10.54 MB / 474.7 MB Notification: Performance of matching and sorting (n=422) (initialization): time 0.02096/0.5509, allocations: 7.503 MB / 0.6635 GB, free: 2.949 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001196/0.5511, allocations: 166.2 kB / 0.6637 GB, free: 2.75 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.091e-05/0.5511, allocations: 7.984 kB / 0.6637 GB, free: 2.742 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01068/0.5618, allocations: 2.815 MB / 0.6664 GB, free: 15.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003265/0.5651, allocations: 0.6436 MB / 0.667 GB, free: 15.26 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2496/0.8147, allocations: 17.75 MB / 0.6844 GB, free: 107.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003965/0.8187, allocations: 400.6 kB / 0.6848 GB, free: 107.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004572/0.8192, allocations: 115.6 kB / 0.6849 GB, free: 107.6 MB / 490.7 MB Warning: Assuming fixed start value for the following 9 variables: gen3.gen.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real gen2.gen.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real gen1.gen.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real gen1.gen.delta:VARIABLE(flow=false start = gen1.gen.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real gen1.gen.e1q:VARIABLE(start = gen1.gen.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real gen1.gen.e1d:VARIABLE(start = gen1.gen.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real gen1.AVR.firstOrder2.y:VARIABLE(flow=false start = gen1.AVR.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real gen2.gen.delta:VARIABLE(flow=false start = gen2.gen.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real gen2.gen.e1q:VARIABLE(start = gen2.gen.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3,$whenCondition6,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (351): * Single equations (assignments): 338 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(4,2), (29,30), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.00144/0.8206, allocations: 0.6281 MB / 0.6855 GB, free: 107.4 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006304/0.8212, allocations: 303.7 kB / 0.6858 GB, free: 107.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02333/0.8446, allocations: 7.379 MB / 0.693 GB, free: 106.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.503e-05/0.8447, allocations: 13 kB / 0.693 GB, free: 106.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.261e-06/0.8447, allocations: 0.9375 kB / 0.693 GB, free: 106.2 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009144/0.8456, allocations: 447.5 kB / 0.6934 GB, free: 106.1 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006436/0.8463, allocations: 49.22 kB / 0.6935 GB, free: 106 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002368/0.8486, allocations: 217 kB / 0.6937 GB, free: 106 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002085/0.8507, allocations: 0.7307 MB / 0.6944 GB, free: 105.9 MB / 490.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01229/0.863, allocations: 5.154 MB / 0.6994 GB, free: 104 MB / 490.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.007594/0.8706, allocations: 5.022 MB / 0.7043 GB, free: 101.7 MB / 490.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002245/0.8729, allocations: 1.32 MB / 0.7056 GB, free: 101.1 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002383/0.8753, allocations: 1.684 MB / 0.7072 GB, free: 100.5 MB / 490.7 MB Notification: Performance of Backend: time 4.51e-07/0.8753, allocations: 0 / 0.7072 GB, free: 100.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01005/0.8854, allocations: 4.718 MB / 0.7119 GB, free: 97.24 MB / 490.7 MB Notification: Performance of SimCode: time 0.007517/0.8929, allocations: 7.556 MB / 0.7192 GB, free: 90.11 MB / 490.7 MB Notification: Performance of Templates: time 0.05963/0.9526, allocations: 46.39 MB / 0.7645 GB, free: 44.23 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_3.Example_3.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_3.Example_3.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_3.Example_3.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_3.Example_3.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_3.Example_3.sim & ./OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_3.Example_3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_3.Example_3.pipe 2>&1)