Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_3.Example_3.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.Tutorial.Example_3.Example_3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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_dev_OpenIPSL.Examples.Tutorial.Example_3.Example_3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001544/0.001544, allocations: 108.2 kB / 16.41 MB, free: 6.457 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.382/1.382, allocations: 222.9 MB / 240.1 MB, free: 4.496 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.001227/0.001227, allocations: 184.5 kB / 290.4 MB, free: 2.207 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.627/0.627, allocations: 91.9 MB / 432.4 MB, free: 9.18 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 75.64 kB / 0.5734 GB, free: 33.52 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1302, allocations: 71.28 MB / 0.643 GB, free: 3.594 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.Tutorial.Example_3.Example_3): time 0.01266/0.1429, allocations: 13.41 MB / 0.6561 GB, free: 6.133 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.007832/0.1508, allocations: 3.626 MB / 0.6596 GB, free: 2.496 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002298/0.1531, allocations: 27.94 kB / 0.6597 GB, free: 2.469 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001766/0.1549, allocations: 0.5032 MB / 0.6601 GB, free: 1.961 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005217/0.1601, allocations: 1.564 MB / 0.6617 GB, free: 404 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003288/0.1634, allocations: 1.346 MB / 0.663 GB, free: 15.06 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.005315/0.1688, allocations: 4.108 MB / 0.667 GB, free: 10.94 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001506/0.1703, allocations: 0.9291 MB / 0.6679 GB, free: 9.949 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002474/0.1728, allocations: 1.599 MB / 0.6695 GB, free: 8.344 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002613/0.1754, allocations: 1.933 MB / 0.6714 GB, free: 6.402 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009594/0.1764, allocations: 364 kB / 0.6717 GB, free: 6.047 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001345/0.1777, allocations: 0.5038 MB / 0.6722 GB, free: 5.543 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001276/0.179, allocations: 0.8288 MB / 0.673 GB, free: 4.711 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003361/0.1824, allocations: 1.698 MB / 0.6747 GB, free: 3.004 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005304/0.1877, allocations: 4.532 MB / 0.6791 GB, free: 14.46 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.1877, allocations: 4 kB / 0.6791 GB, free: 14.45 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.1878, allocations: 0 / 0.6791 GB, free: 14.45 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001418/0.1879, allocations: 3.938 kB / 0.6791 GB, free: 14.45 MB / 494.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.01818/0.2061, allocations: 5.356 MB / 0.6843 GB, free: 8.988 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.2061, allocations: 8.031 kB / 0.6843 GB, free: 8.98 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01086/0.217, allocations: 1.619 MB / 0.6859 GB, free: 7.355 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004387/0.2214, allocations: 2.024 MB / 0.6879 GB, free: 5.266 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004955/0.2219, allocations: 464.6 kB / 0.6883 GB, free: 4.75 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005826/0.2225, allocations: 199.9 kB / 0.6885 GB, free: 4.555 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005586/0.2281, allocations: 2.423 MB / 0.6909 GB, free: 2.105 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.553e-05/0.2282, allocations: 0 / 0.6909 GB, free: 2.105 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002675/0.2285, allocations: 76 kB / 0.691 GB, free: 2.031 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.498e-05/0.2285, allocations: 44 kB / 0.691 GB, free: 1.988 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004923/0.2334, allocations: 2.247 MB / 0.6932 GB, free: 15.74 MB / 0.4981 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.01706/0.2505, allocations: 9.201 MB / 0.7022 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01056/0.2611, allocations: 4.423 MB / 0.7065 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003022/0.2641, allocations: 1.562 MB / 0.708 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002161/0.2644, allocations: 41.88 kB / 0.7081 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003601/0.268, allocations: 1.794 MB / 0.7098 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=242): time 5.18e-06/0.268, allocations: 0 / 0.7098 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of matching and sorting (n=242): time 0.07443/0.3425, allocations: 16.54 MB / 0.726 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001251/0.3426, allocations: 239.6 kB / 0.7262 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00475/0.3474, allocations: 2.519 MB / 0.7287 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006484/0.3481, allocations: 73.64 kB / 0.7287 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009922/0.3491, allocations: 1.122 MB / 0.7298 GB, free: 9.387 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001279/0.3503, allocations: 0.8589 MB / 0.7307 GB, free: 8.516 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001858/0.3522, allocations: 0.5854 MB / 0.7312 GB, free: 7.922 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.182e-05/0.3523, allocations: 301.1 kB / 0.7315 GB, free: 7.625 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003603/0.3559, allocations: 1.607 MB / 0.7331 GB, free: 6.016 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003817/0.3598, allocations: 1.934 MB / 0.735 GB, free: 4.012 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04768/0.4074, allocations: 11.22 MB / 0.7459 GB, free: 8.547 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.689e-05/0.4075, allocations: 4 kB / 0.746 GB, free: 8.543 MB / 0.545 GB Notification: Performance of matching and sorting (n=422) (initialization): time 0.02452/0.432, allocations: 7.492 MB / 0.7533 GB, free: 0.957 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001328/0.4322, allocations: 174.2 kB / 0.7534 GB, free: 0.75 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.061e-05/0.4322, allocations: 4 kB / 0.7534 GB, free: 0.7461 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01218/0.4444, allocations: 2.815 MB / 0.7562 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003584/0.448, allocations: 0.6475 MB / 0.7568 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2832/0.7313, allocations: 19.16 MB / 0.7755 GB, free: 104.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003949/0.7353, allocations: 408.2 kB / 0.7759 GB, free: 104.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003261/0.7356, allocations: 114.7 kB / 0.776 GB, free: 104.2 MB / 0.5606 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.001151/0.7368, allocations: 0.6245 MB / 0.7766 GB, free: 104 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004909/0.7373, allocations: 299.2 kB / 0.7769 GB, free: 104 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02446/0.7618, allocations: 7.375 MB / 0.7841 GB, free: 103.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.472e-05/0.7618, allocations: 15.12 kB / 0.7841 GB, free: 103.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.493e-06/0.7619, allocations: 3.906 kB / 0.7841 GB, free: 103.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008964/0.7628, allocations: 444.4 kB / 0.7846 GB, free: 103.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005231/0.7633, allocations: 51.92 kB / 0.7846 GB, free: 103.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002313/0.7656, allocations: 219.2 kB / 0.7848 GB, free: 103.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00175/0.7674, allocations: 0.7508 MB / 0.7856 GB, free: 103.5 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01306/0.7804, allocations: 5.147 MB / 0.7906 GB, free: 101.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008129/0.7886, allocations: 5.018 MB / 0.7955 GB, free: 99.46 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002375/0.791, allocations: 1.324 MB / 0.7968 GB, free: 98.95 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002396/0.7934, allocations: 1.674 MB / 0.7984 GB, free: 98.32 MB / 0.5606 GB Notification: Performance of Backend: time 6.71e-07/0.7934, allocations: 7.844 kB / 0.7984 GB, free: 98.32 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01069/0.8041, allocations: 4.772 MB / 0.8031 GB, free: 95.82 MB / 0.5606 GB Notification: Performance of SimCode: time 0.006756/0.8109, allocations: 6.535 MB / 0.8095 GB, free: 91.34 MB / 0.5606 GB Notification: Performance of Templates: time 0.0664/0.8773, allocations: 52.08 MB / 0.8603 GB, free: 40.21 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_3.Example_3.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_3.Example_3.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_3.Example_3.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_3.Example_3.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_3.Example_3.sim & ./OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_3.Example_3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_3.Example_3.pipe 2>&1)