Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_1.Example_1.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_1.Example_1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_1.Example_1") translateModel(OpenIPSL.Examples.Tutorial.Example_1.Example_1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_1.Example_1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009415/0.0009414, allocations: 173.8 kB / 15.77 MB, free: 6.328 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.671/1.671, allocations: 223.2 MB / 239.8 MB, free: 1.73 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00079/0.0007901, allocations: 87.39 kB / 290.9 MB, free: 13.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5735/0.5735, allocations: 78.62 MB / 420.7 MB, free: 44.25 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003776/0.0003777, allocations: 12 kB / 0.4888 GB, free: 2.934 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4527/0.4531, allocations: 69.34 MB / 0.5565 GB, free: 38.76 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.Tutorial.Example_1.Example_1): time 0.005233/0.4583, allocations: 4.779 MB / 0.5612 GB, free: 38.25 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004222/0.4626, allocations: 1.682 MB / 0.5628 GB, free: 37.19 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001034/0.4637, allocations: 9.531 kB / 0.5628 GB, free: 37.19 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004875/0.4642, allocations: 122.4 kB / 0.5629 GB, free: 37.14 MB / 426.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.002041/0.4662, allocations: 0.5264 MB / 0.5635 GB, free: 36.79 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001162/0.4674, allocations: 387.1 kB / 0.5638 GB, free: 36.59 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001924/0.4693, allocations: 1.065 MB / 0.5649 GB, free: 36.04 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004337/0.4698, allocations: 194.7 kB / 0.5651 GB, free: 35.94 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008582/0.4706, allocations: 416.5 kB / 0.5654 GB, free: 35.76 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007669/0.4714, allocations: 0.518 MB / 0.566 GB, free: 35.54 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001362/0.4716, allocations: 49.25 kB / 0.566 GB, free: 35.54 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005651/0.4721, allocations: 173.3 kB / 0.5662 GB, free: 35.5 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001893/0.4723, allocations: 181 kB / 0.5663 GB, free: 35.39 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001892/0.4725, allocations: 177.4 kB / 0.5665 GB, free: 35.28 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009878/0.4735, allocations: 1.066 MB / 0.5675 GB, free: 35 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.4735, allocations: 0 / 0.5675 GB, free: 35 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.4736, allocations: 0 / 0.5675 GB, free: 35 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.36e-05/0.4736, allocations: 0 / 0.5675 GB, free: 35 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 132 * Number of variables: 132 Notification: Performance of Generate backend data structure: time 0.005663/0.4792, allocations: 1.726 MB / 0.5692 GB, free: 34.15 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.4793, allocations: 12.08 kB / 0.5692 GB, free: 34.15 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00337/0.4827, allocations: 0.5322 MB / 0.5698 GB, free: 34.04 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001222/0.4839, allocations: 0.6492 MB / 0.5704 GB, free: 33.58 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000165/0.4841, allocations: 148 kB / 0.5705 GB, free: 33.46 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/0.4842, allocations: 62.97 kB / 0.5706 GB, free: 33.44 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001487/0.4857, allocations: 0.8216 MB / 0.5714 GB, free: 33.12 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.4857, allocations: 4 kB / 0.5714 GB, free: 33.11 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.76e-05/0.4858, allocations: 21.91 kB / 0.5714 GB, free: 33.1 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.4858, allocations: 12.09 kB / 0.5714 GB, free: 33.1 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001303/0.4871, allocations: 0.7336 MB / 0.5722 GB, free: 32.84 MB / 426.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.004687/0.4918, allocations: 2.933 MB / 0.575 GB, free: 31.17 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01316/0.505, allocations: 3.919 MB / 0.5788 GB, free: 30.5 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001104/0.5062, allocations: 0.5189 MB / 0.5794 GB, free: 30.3 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.402e-05/0.5062, allocations: 16.69 kB / 0.5794 GB, free: 30.3 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.022e-05/0.5063, allocations: 38.12 kB / 0.5794 GB, free: 30.25 MB / 426.7 MB Notification: Performance of pre-optimization done (n=64): time 2.094e-06/0.5063, allocations: 0 / 0.5794 GB, free: 30.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=64): time 0.01137/0.5177, allocations: 3.904 MB / 0.5832 GB, free: 29.17 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.5177, allocations: 83.42 kB / 0.5833 GB, free: 29.07 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009815/0.5187, allocations: 0.7828 MB / 0.5841 GB, free: 28.71 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001157/0.5188, allocations: 43.67 kB / 0.5841 GB, free: 28.67 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001982/0.519, allocations: 376.2 kB / 0.5845 GB, free: 28.37 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001951/0.5192, allocations: 232.9 kB / 0.5847 GB, free: 28.19 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.402e-05/0.5193, allocations: 22.62 kB / 0.5847 GB, free: 28.17 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.99e-05/0.5194, allocations: 342.2 kB / 0.585 GB, free: 27.85 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001022/0.5204, allocations: 0.5754 MB / 0.5856 GB, free: 27.63 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001083/0.5215, allocations: 0.7041 MB / 0.5863 GB, free: 27.3 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001097/0.5226, allocations: 0.6286 MB / 0.5869 GB, free: 27.03 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.501e-06/0.5226, allocations: 3.953 kB / 0.5869 GB, free: 27.03 MB / 426.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.007935/0.5306, allocations: 2.871 MB / 0.5897 GB, free: 26.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.817e-05/0.5307, allocations: 150.8 kB / 0.5898 GB, free: 26.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.5307, allocations: 5.219 kB / 0.5899 GB, free: 26.03 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00499/0.5357, allocations: 1.265 MB / 0.5911 GB, free: 25.79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001026/0.5367, allocations: 169.1 kB / 0.5912 GB, free: 25.78 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01126/0.548, allocations: 5.382 MB / 0.5965 GB, free: 23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001537/0.5496, allocations: 141.3 kB / 0.5966 GB, free: 22.94 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001116/0.5497, allocations: 34.73 kB / 0.5967 GB, free: 22.93 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.5497, allocations: 4.156 kB / 0.5967 GB, free: 22.93 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008124/0.5579, allocations: 2.741 MB / 0.5994 GB, free: 22.17 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.741e-05/0.5579, allocations: 2.25 kB / 0.5994 GB, free: 22.17 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005017/0.5629, allocations: 1.259 MB / 0.6006 GB, free: 21.94 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009824/0.5639, allocations: 163.2 kB / 0.6007 GB, free: 21.92 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01144/0.5754, allocations: 5.386 MB / 0.606 GB, free: 19.14 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001386/0.5768, allocations: 124.2 kB / 0.6061 GB, free: 19.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.845e-05/0.5769, allocations: 35.41 kB / 0.6062 GB, free: 19.08 MB / 426.7 MB Warning: Assuming fixed start value for the following 2 variables: G1.machine.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real G1.avr.vref:VARIABLE(unit = "1" fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (103): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {8 13} Notification: Performance of prepare postOptimizeDAE: time 0.0004773/0.5774, allocations: 305.1 kB / 0.6064 GB, free: 18.81 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001538/0.5776, allocations: 88.16 kB / 0.6065 GB, free: 18.77 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006901/0.5845, allocations: 2.394 MB / 0.6089 GB, free: 18.11 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.17e-05/0.5845, allocations: 11.78 kB / 0.6089 GB, free: 18.1 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.075e-05/0.5845, allocations: 3.969 kB / 0.6089 GB, free: 18.1 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.61e-05/0.5845, allocations: 3.938 kB / 0.6089 GB, free: 18.1 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008589/0.5931, allocations: 3.671 MB / 0.6125 GB, free: 15.92 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.5932, allocations: 0 / 0.6125 GB, free: 15.92 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005753/0.5938, allocations: 83.52 kB / 0.6125 GB, free: 15.85 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003552/0.5973, allocations: 1.087 MB / 0.6136 GB, free: 15 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001026/0.5974, allocations: 16.56 kB / 0.6136 GB, free: 14.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007424/0.6049, allocations: 4.136 MB / 0.6177 GB, free: 10.93 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.6049, allocations: 0 / 0.6177 GB, free: 10.93 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007171/0.6121, allocations: 3.064 MB / 0.6207 GB, free: 7.836 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003085/0.6124, allocations: 183.8 kB / 0.6208 GB, free: 7.637 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001225/0.6126, allocations: 19.98 kB / 0.6209 GB, free: 7.617 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008734/0.6134, allocations: 75.94 kB / 0.6209 GB, free: 7.543 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003348/0.6138, allocations: 128.4 kB / 0.621 GB, free: 7.418 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.92e-05/0.6138, allocations: 19.98 kB / 0.6211 GB, free: 7.398 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005828/0.6144, allocations: 0.5264 MB / 0.6216 GB, free: 6.879 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6144, allocations: 0 / 0.6216 GB, free: 6.879 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001463/0.6159, allocations: 0.5228 MB / 0.6221 GB, free: 6.355 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 9 (G1.avr.vm,G1.avr.vr,G1.avr.vf1,G1.machine.delta,G1.machine.w,G1.machine.e1q,G1.machine.e1d,G1.machine.e2q,G1.machine.e2d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(9,48.1%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002093/0.6161, allocations: 127.7 kB / 0.6222 GB, free: 6.223 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007921/0.624, allocations: 3.563 MB / 0.6257 GB, free: 2.555 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.6241, allocations: 0 / 0.6257 GB, free: 2.555 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003154/0.6272, allocations: 1.259 MB / 0.6269 GB, free: 1.238 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008157/0.6281, allocations: 74.86 kB / 0.627 GB, free: 1.168 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003467/0.6316, allocations: 2.178 MB / 0.6291 GB, free: 14.95 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005918/0.6322, allocations: 0.9795 MB / 0.6301 GB, free: 13.94 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003042/0.6325, allocations: 55.42 kB / 0.6301 GB, free: 13.89 MB / 442.7 MB Notification: Performance of SimCode: time 6.62e-07/0.6325, allocations: 0 / 0.6301 GB, free: 13.89 MB / 442.7 MB Notification: Performance of Templates: time 0.02896/0.6615, allocations: 22.64 MB / 0.6522 GB, free: 7.246 MB / 458.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_1.Example_1.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_1.Example_1.sim & ./OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_1.Example_1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe 2>&1)