Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_2.Example_2.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_2.Example_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_2.Example_2") translateModel(OpenIPSL.Examples.Tutorial.Example_2.Example_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_2.Example_2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001394/0.001393, allocations: 176.2 kB / 16.08 MB, free: 5.73 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.288/1.288, allocations: 222.9 MB / 239.7 MB, free: 10.19 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.0007327/0.0007327, allocations: 95.58 kB / 290.5 MB, free: 11.02 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.434/0.434, allocations: 78.42 MB / 419.6 MB, free: 9.797 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003314/0.0003314, allocations: 15.92 kB / 499.1 MB, free: 10.67 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2799/0.2802, allocations: 68.75 MB / 0.5545 GB, free: 20.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.Tutorial.Example_2.Example_2): time 0.004798/0.2851, allocations: 6.177 MB / 0.5606 GB, free: 14.02 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002682/0.2878, allocations: 2.176 MB / 0.5627 GB, free: 11.84 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003526/0.2881, allocations: 8 kB / 0.5627 GB, free: 11.83 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004971/0.2886, allocations: 190.8 kB / 0.5629 GB, free: 11.64 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 Transformer.m <> 1.0, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeBindings: time 0.001236/0.2899, allocations: 0.692 MB / 0.5635 GB, free: 10.95 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009369/0.2908, allocations: 0.6548 MB / 0.5642 GB, free: 10.3 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009775/0.2918, allocations: 1.691 MB / 0.5658 GB, free: 8.602 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002876/0.2921, allocations: 270.1 kB / 0.5661 GB, free: 8.324 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004619/0.2926, allocations: 0.5561 MB / 0.5666 GB, free: 7.766 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005371/0.2931, allocations: 0.692 MB / 0.5673 GB, free: 7.07 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001176/0.2933, allocations: 60 kB / 0.5674 GB, free: 7.012 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003279/0.2936, allocations: 183.9 kB / 0.5675 GB, free: 6.832 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001775/0.2938, allocations: 262.8 kB / 0.5678 GB, free: 6.574 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003262/0.2941, allocations: 0.5552 MB / 0.5683 GB, free: 6.016 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001018/0.2951, allocations: 1.81 MB / 0.5701 GB, free: 4.199 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.2952, allocations: 0 / 0.5701 GB, free: 4.199 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.2952, allocations: 3.938 kB / 0.5701 GB, free: 4.195 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.06e-05/0.2952, allocations: 0 / 0.5701 GB, free: 4.195 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 159 * Number of variables: 159 Notification: Performance of Generate backend data structure: time 0.005656/0.3008, allocations: 2.018 MB / 0.5721 GB, free: 2.125 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.3009, allocations: 12.03 kB / 0.5721 GB, free: 2.113 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003221/0.3041, allocations: 0.5613 MB / 0.5726 GB, free: 1.551 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001457/0.3056, allocations: 0.9948 MB / 0.5736 GB, free: 0.5 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002289/0.3058, allocations: 239.5 kB / 0.5738 GB, free: 236 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001265/0.306, allocations: 68 kB / 0.5739 GB, free: 168 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001885/0.3079, allocations: 0.9602 MB / 0.5748 GB, free: 15.19 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.966e-05/0.3079, allocations: 4 kB / 0.5748 GB, free: 15.18 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.542e-05/0.308, allocations: 27.98 kB / 0.5749 GB, free: 15.16 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.45e-05/0.308, allocations: 16 kB / 0.5749 GB, free: 15.14 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001844/0.3099, allocations: 0.9109 MB / 0.5758 GB, free: 14.23 MB / 394.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.005846/0.3157, allocations: 3.642 MB / 0.5793 GB, free: 10.46 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0125/0.3282, allocations: 3.281 MB / 0.5825 GB, free: 7.133 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001166/0.3294, allocations: 0.5728 MB / 0.5831 GB, free: 6.559 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.475e-05/0.3295, allocations: 16.64 kB / 0.5831 GB, free: 6.543 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.557e-05/0.3296, allocations: 47.2 kB / 0.5832 GB, free: 6.488 MB / 394.7 MB Notification: Performance of pre-optimization done (n=76): time 3.427e-06/0.3296, allocations: 0 / 0.5832 GB, free: 6.488 MB / 394.7 MB Notification: Performance of matching and sorting (n=76): time 0.01166/0.3412, allocations: 3.639 MB / 0.5867 GB, free: 2.777 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.22e-05/0.3413, allocations: 111.5 kB / 0.5868 GB, free: 2.645 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001905/0.3432, allocations: 1.165 MB / 0.588 GB, free: 1.461 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.889e-05/0.3433, allocations: 41.7 kB / 0.588 GB, free: 1.414 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003362/0.3437, allocations: 472.4 kB / 0.5885 GB, free: 0.9453 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000249/0.3439, allocations: 276 kB / 0.5887 GB, free: 0.6719 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001504/0.3441, allocations: 105.7 kB / 0.5888 GB, free: 0.5625 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.3442, allocations: 349.9 kB / 0.5891 GB, free: 220 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001298/0.3455, allocations: 0.6545 MB / 0.5898 GB, free: 15.56 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001361/0.3469, allocations: 0.7752 MB / 0.5905 GB, free: 14.76 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01932/0.3662, allocations: 4.523 MB / 0.595 GB, free: 10.21 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.3663, allocations: 4 kB / 0.595 GB, free: 10.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.008509/0.3748, allocations: 2.762 MB / 0.5977 GB, free: 7.426 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.603e-05/0.3749, allocations: 139.4 kB / 0.5978 GB, free: 7.266 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.3749, allocations: 8 kB / 0.5978 GB, free: 7.258 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004097/0.379, allocations: 1.046 MB / 0.5988 GB, free: 6.203 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001102/0.3801, allocations: 219.7 kB / 0.599 GB, free: 5.988 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00951/0.3896, allocations: 4.717 MB / 0.6036 GB, free: 1.133 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001496/0.3912, allocations: 167 kB / 0.6038 GB, free: 0.9688 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.372e-05/0.3913, allocations: 43.98 kB / 0.6038 GB, free: 0.9258 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.623e-06/0.3913, allocations: 4 kB / 0.6038 GB, free: 0.9219 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007085/0.3984, allocations: 2.593 MB / 0.6064 GB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.3984, allocations: 0 / 0.6064 GB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00388/0.4023, allocations: 1.054 MB / 0.6074 GB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001039/0.4033, allocations: 207.7 kB / 0.6076 GB, free: 13.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009455/0.4128, allocations: 4.703 MB / 0.6122 GB, free: 8.203 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001561/0.4144, allocations: 159.1 kB / 0.6123 GB, free: 8.047 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.349e-05/0.4145, allocations: 39.98 kB / 0.6124 GB, free: 8.008 MB / 426.7 MB Warning: Assuming fixed start value for the following 1 variables: G1.machine.delta:VARIABLE(flow=false start = G1.machine.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * 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): 1 system {(7,13,59.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007211/0.4152, allocations: 352.9 kB / 0.6127 GB, free: 7.652 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002292/0.4155, allocations: 114.6 kB / 0.6128 GB, free: 7.539 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006403/0.4219, allocations: 2.283 MB / 0.6151 GB, free: 5.238 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.4219, allocations: 3.984 kB / 0.6151 GB, free: 5.234 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.4219, allocations: 0 / 0.6151 GB, free: 5.234 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002883/0.4222, allocations: 223.5 kB / 0.6153 GB, free: 4.996 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001532/0.4224, allocations: 20 kB / 0.6153 GB, free: 4.977 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001087/0.4234, allocations: 99.86 kB / 0.6154 GB, free: 4.879 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004244/0.4239, allocations: 192.2 kB / 0.6156 GB, free: 4.691 MB / 426.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005093/0.429, allocations: 1.768 MB / 0.6173 GB, free: 2.902 MB / 426.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003651/0.4326, allocations: 2.008 MB / 0.6193 GB, free: 0.8789 MB / 426.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001067/0.4337, allocations: 0.5205 MB / 0.6198 GB, free: 364 kB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001477/0.4352, allocations: 0.8114 MB / 0.6206 GB, free: 15.54 MB / 442.7 MB Notification: Performance of Backend: time 6.31e-07/0.4352, allocations: 0 / 0.6206 GB, free: 15.54 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008026/0.4433, allocations: 3.227 MB / 0.6237 GB, free: 12.19 MB / 442.7 MB Notification: Performance of SimCode: time 0.0036/0.4469, allocations: 3.011 MB / 0.6267 GB, free: 9.129 MB / 442.7 MB Notification: Performance of Templates: time 0.03787/0.4848, allocations: 25.82 MB / 0.6519 GB, free: 15.37 MB / 474.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_2.Example_2.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_2.Example_2.sim & ./OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_2.Example_2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe 2>&1)