Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_3.Example_3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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/Modelica 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: translateModel(OpenIPSL.Examples.Tutorial.Example_3.Example_3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_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_2.0.0_OpenIPSL.Examples.Tutorial.Example_3.Example_3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07447/0.07447, allocations: 12.6 MB / 28.91 MB, free: 0.6406 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 111.5 kB / 32.51 MB, free: 3.578 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.383/1.383, allocations: 205.1 MB / 241.1 MB, free: 12.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 192.4 kB / 291.4 MB, free: 10.96 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4375/0.4375, allocations: 78.5 MB / 420 MB, free: 10.76 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002673/0.002673, allocations: 144.9 kB / 0.5565 GB, free: 17.3 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1184, allocations: 68.11 MB / 0.623 GB, free: 13.16 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.Tutorial.Example_3.Example_3): time 0.01286/0.1313, allocations: 13.43 MB / 0.6362 GB, free: 15.68 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.007499/0.1389, allocations: 3.596 MB / 0.6397 GB, free: 12.07 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002083/0.141, allocations: 27.94 kB / 0.6397 GB, free: 12.05 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001721/0.1428, allocations: 0.5032 MB / 0.6402 GB, free: 11.54 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 2.0.0/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 2.0.0/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.004834/0.1477, allocations: 1.573 MB / 0.6417 GB, free: 9.965 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 2.0.0/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 2.0.0/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.003061/0.1507, allocations: 1.323 MB / 0.643 GB, free: 8.652 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.005129/0.1559, allocations: 4.104 MB / 0.647 GB, free: 4.531 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001491/0.1574, allocations: 0.9369 MB / 0.6479 GB, free: 3.539 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002808/0.1602, allocations: 1.603 MB / 0.6495 GB, free: 1.93 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003023/0.1632, allocations: 1.925 MB / 0.6514 GB, free: 15.99 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009637/0.1642, allocations: 368 kB / 0.6517 GB, free: 15.63 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001436/0.1657, allocations: 0.5076 MB / 0.6522 GB, free: 15.13 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001071/0.1667, allocations: 0.821 MB / 0.653 GB, free: 14.3 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002318/0.1691, allocations: 1.705 MB / 0.6547 GB, free: 12.59 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00509/0.1742, allocations: 4.531 MB / 0.6591 GB, free: 8.043 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.1742, allocations: 0 / 0.6591 GB, free: 8.043 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1742, allocations: 0 / 0.6591 GB, free: 8.043 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001481/0.1744, allocations: 4 kB / 0.6591 GB, free: 8.039 MB / 478.1 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.01845/0.1928, allocations: 5.356 MB / 0.6644 GB, free: 2.578 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.995e-05/0.1929, allocations: 15.97 kB / 0.6644 GB, free: 2.562 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01132/0.2042, allocations: 1.611 MB / 0.6659 GB, free: 0.9453 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004755/0.209, allocations: 2.02 MB / 0.6679 GB, free: 14.85 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005383/0.2096, allocations: 468.5 kB / 0.6684 GB, free: 14.33 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006916/0.2103, allocations: 207.9 kB / 0.6686 GB, free: 14.13 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005828/0.2161, allocations: 2.416 MB / 0.6709 GB, free: 11.69 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.582e-05/0.2162, allocations: 4 kB / 0.6709 GB, free: 11.68 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000276/0.2165, allocations: 75.98 kB / 0.671 GB, free: 11.61 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.298e-05/0.2165, allocations: 44 kB / 0.671 GB, free: 11.57 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005043/0.2215, allocations: 2.236 MB / 0.6732 GB, free: 9.328 MB / 494.1 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.262/0.4836, allocations: 9.143 MB / 0.6822 GB, free: 50.15 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.011/0.4946, allocations: 4.419 MB / 0.6865 GB, free: 48.9 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003046/0.4977, allocations: 1.565 MB / 0.688 GB, free: 48.58 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001703/0.4979, allocations: 40.22 kB / 0.688 GB, free: 48.57 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003515/0.5014, allocations: 1.799 MB / 0.6898 GB, free: 47.9 MB / 494.1 MB Notification: Performance of pre-optimization done (n=242): time 4.739e-06/0.5014, allocations: 0.6875 kB / 0.6898 GB, free: 47.9 MB / 494.1 MB Notification: Performance of matching and sorting (n=242): time 0.07969/0.5811, allocations: 18.06 MB / 0.7074 GB, free: 41.45 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.699e-05/0.5812, allocations: 243.2 kB / 0.7077 GB, free: 41.18 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003321/0.5845, allocations: 2.507 MB / 0.7101 GB, free: 39.87 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003901/0.5849, allocations: 77.5 kB / 0.7102 GB, free: 39.8 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005941/0.5855, allocations: 1.121 MB / 0.7113 GB, free: 38.99 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006744/0.5862, allocations: 0.8585 MB / 0.7121 GB, free: 38.29 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009644/0.5872, allocations: 0.5824 MB / 0.7127 GB, free: 37.93 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 3.569e-05/0.5872, allocations: 304.6 kB / 0.713 GB, free: 37.64 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002857/0.5901, allocations: 1.61 MB / 0.7146 GB, free: 36.8 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003025/0.5931, allocations: 1.932 MB / 0.7164 GB, free: 35.68 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.04273/0.6359, allocations: 11.23 MB / 0.7274 GB, free: 25.91 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.316e-05/0.6359, allocations: 3.938 kB / 0.7274 GB, free: 25.9 MB / 494.1 MB Notification: Performance of matching and sorting (n=422) (initialization): time 0.02076/0.6567, allocations: 7.491 MB / 0.7347 GB, free: 18.32 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.183e-05/0.6568, allocations: 170.2 kB / 0.7349 GB, free: 18.12 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.718e-05/0.6569, allocations: 5.969 kB / 0.7349 GB, free: 18.12 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01077/0.6676, allocations: 2.824 MB / 0.7377 GB, free: 15.28 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003356/0.671, allocations: 0.6475 MB / 0.7383 GB, free: 14.63 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03537/0.7064, allocations: 19.17 MB / 0.757 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004143/0.7106, allocations: 413.2 kB / 0.7574 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005934/0.7112, allocations: 116 kB / 0.7575 GB, free: 10.27 MB / 0.4981 GB 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.001635/0.7128, allocations: 0.6145 MB / 0.7581 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000798/0.7136, allocations: 304.2 kB / 0.7584 GB, free: 9.328 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02493/0.7386, allocations: 7.387 MB / 0.7656 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.698e-05/0.7386, allocations: 15.95 kB / 0.7656 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.7386, allocations: 0 / 0.7656 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009055/0.7395, allocations: 444.6 kB / 0.7661 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006067/0.7402, allocations: 48 kB / 0.7661 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002601/0.7428, allocations: 215.8 kB / 0.7663 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002044/0.7448, allocations: 0.7508 MB / 0.767 GB, free: 424 kB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01522/0.7601, allocations: 5.149 MB / 0.7721 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00988/0.77, allocations: 5.026 MB / 0.777 GB, free: 6.176 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002824/0.7728, allocations: 1.324 MB / 0.7783 GB, free: 4.852 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003176/0.776, allocations: 1.673 MB / 0.7799 GB, free: 3.176 MB / 0.5137 GB Notification: Performance of Backend: time 6.41e-07/0.776, allocations: 0 / 0.7799 GB, free: 3.176 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01258/0.7886, allocations: 4.774 MB / 0.7846 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of SimCode: time 0.009024/0.7977, allocations: 6.529 MB / 0.7909 GB, free: 7.633 MB / 0.5294 GB Notification: Performance of Templates: time 0.07977/0.8775, allocations: 52.06 MB / 0.8418 GB, free: 3.609 MB / 0.5762 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_3.Example_3.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_3.Example_3.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_3.Example_3.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_3.Example_3.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_3.Example_3.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_3.Example_3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.Tutorial.Example_3.Example_3.pipe 2>&1)