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.006121/0.006122, allocations: 170.6 kB / 15.12 MB, free: 5.555 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.337/1.337, allocations: 223.2 MB / 239 MB, free: 1.789 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.0009064/0.0009064, allocations: 95.28 kB / 290.2 MB, free: 13.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4654/0.4654, allocations: 78.59 MB / 419.9 MB, free: 44.2 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003867/0.0003867, allocations: 12 kB / 499.8 MB, free: 2.961 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3716/0.372, allocations: 69.34 MB / 0.5558 GB, free: 38.79 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.Tutorial.Example_2.Example_2): time 0.00538/0.3774, allocations: 5.141 MB / 0.5608 GB, free: 38.18 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004509/0.3819, allocations: 2.077 MB / 0.5628 GB, free: 36.71 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001031/0.383, allocations: 13.97 kB / 0.5628 GB, free: 36.7 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007217/0.3837, allocations: 169.6 kB / 0.563 GB, free: 36.63 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.00203/0.3858, allocations: 0.6627 MB / 0.5636 GB, free: 36.2 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0014/0.3872, allocations: 0.4958 MB / 0.5641 GB, free: 35.95 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002619/0.3898, allocations: 1.024 MB / 0.5651 GB, free: 35.38 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004822/0.3903, allocations: 244.6 kB / 0.5654 GB, free: 35.28 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001159/0.3915, allocations: 0.5729 MB / 0.5659 GB, free: 35.04 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009336/0.3924, allocations: 0.6528 MB / 0.5666 GB, free: 34.77 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001679/0.3926, allocations: 59.47 kB / 0.5666 GB, free: 34.77 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005779/0.3932, allocations: 167.7 kB / 0.5668 GB, free: 34.73 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002103/0.3934, allocations: 247.3 kB / 0.567 GB, free: 34.61 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002008/0.3936, allocations: 224 kB / 0.5672 GB, free: 34.45 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0012/0.3948, allocations: 1.493 MB / 0.5687 GB, free: 34.08 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.3948, allocations: 0 / 0.5687 GB, free: 34.08 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3949, allocations: 0 / 0.5687 GB, free: 34.08 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.528e-05/0.3949, allocations: 0 / 0.5687 GB, free: 34.08 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: 159 * Number of variables: 159 Notification: Performance of Generate backend data structure: time 0.006204/0.4011, allocations: 2.082 MB / 0.5707 GB, free: 33.11 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.4011, allocations: 11.06 kB / 0.5707 GB, free: 33.11 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003089/0.4042, allocations: 0.5653 MB / 0.5713 GB, free: 32.98 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002011/0.4063, allocations: 0.9487 MB / 0.5722 GB, free: 32.38 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002827/0.4066, allocations: 249.5 kB / 0.5724 GB, free: 32.16 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001478/0.4067, allocations: 69.03 kB / 0.5725 GB, free: 32.14 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001895/0.4086, allocations: 0.9995 MB / 0.5735 GB, free: 31.74 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/0.4086, allocations: 7.031 kB / 0.5735 GB, free: 31.73 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.265e-05/0.4087, allocations: 22.97 kB / 0.5735 GB, free: 31.71 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.496e-05/0.4088, allocations: 21.44 kB / 0.5735 GB, free: 31.71 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001892/0.4106, allocations: 0.966 MB / 0.5745 GB, free: 31.37 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.005587/0.4162, allocations: 3.791 MB / 0.5782 GB, free: 29.2 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0131/0.4294, allocations: 4.276 MB / 0.5824 GB, free: 28.4 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001057/0.4295, allocations: 13.11 kB / 0.5824 GB, free: 28.39 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.4295, allocations: 46.03 kB / 0.5824 GB, free: 28.34 MB / 426.7 MB Notification: Performance of pre-optimization done (n=76): time 2.615e-06/0.4295, allocations: 0 / 0.5824 GB, free: 28.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=76): time 0.01157/0.4411, allocations: 4.248 MB / 0.5866 GB, free: 27.12 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/0.4412, allocations: 116.2 kB / 0.5867 GB, free: 26.99 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00201/0.4432, allocations: 1.155 MB / 0.5878 GB, free: 26.51 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001824/0.4434, allocations: 40.95 kB / 0.5878 GB, free: 26.47 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00027/0.4437, allocations: 469.4 kB / 0.5883 GB, free: 26.1 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002354/0.4439, allocations: 278.8 kB / 0.5885 GB, free: 25.88 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.198e-05/0.444, allocations: 23 kB / 0.5886 GB, free: 25.86 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.554e-05/0.4441, allocations: 345.1 kB / 0.5889 GB, free: 25.54 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001267/0.4453, allocations: 0.6909 MB / 0.5896 GB, free: 25.28 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001332/0.4467, allocations: 0.8129 MB / 0.5904 GB, free: 24.91 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001558/0.4483, allocations: 0.7503 MB / 0.5911 GB, free: 24.57 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.4483, allocations: 0.75 kB / 0.5911 GB, free: 24.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.008958/0.4572, allocations: 3.129 MB / 0.5942 GB, free: 23.62 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001428/0.4574, allocations: 0.6154 MB / 0.5948 GB, free: 22.97 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.4574, allocations: 2 kB / 0.5948 GB, free: 22.97 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004796/0.4622, allocations: 1.265 MB / 0.596 GB, free: 22.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00129/0.4635, allocations: 225.5 kB / 0.5962 GB, free: 22.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01133/0.4749, allocations: 5.6 MB / 0.6017 GB, free: 19.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001879/0.4768, allocations: 198.6 kB / 0.6019 GB, free: 19.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001102/0.4769, allocations: 38.5 kB / 0.6019 GB, free: 19.79 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.4769, allocations: 3.188 kB / 0.6019 GB, free: 19.79 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008651/0.4856, allocations: 2.942 MB / 0.6048 GB, free: 18.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.602e-05/0.4857, allocations: 5.922 kB / 0.6048 GB, free: 18.92 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004907/0.4906, allocations: 1.265 MB / 0.606 GB, free: 18.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001281/0.4919, allocations: 210.5 kB / 0.6062 GB, free: 18.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01174/0.5036, allocations: 5.607 MB / 0.6117 GB, free: 15.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00202/0.5057, allocations: 177.8 kB / 0.6119 GB, free: 15.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001364/0.5059, allocations: 40.17 kB / 0.6119 GB, free: 15.64 MB / 426.7 MB Warning: Assuming fixed start value for the following 1 variables: 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: 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 (118): * Single equations (assignments): 115 * 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.000648/0.5065, allocations: 350 kB / 0.6122 GB, free: 15.29 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002166/0.5067, allocations: 118.5 kB / 0.6124 GB, free: 15.18 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006996/0.5137, allocations: 2.641 MB / 0.6149 GB, free: 13.03 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.124e-05/0.5138, allocations: 8 kB / 0.6149 GB, free: 13.02 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-05/0.5138, allocations: 4 kB / 0.6149 GB, free: 13.02 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.41e-05/0.5138, allocations: 4.078 kB / 0.6149 GB, free: 13.02 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 postOpt removeSimpleEquations (simulation): time 0.008811/0.5226, allocations: 4.227 MB / 0.6191 GB, free: 8.812 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.271e-06/0.5227, allocations: 7.969 kB / 0.6191 GB, free: 8.805 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007567/0.5235, allocations: 111.9 kB / 0.6192 GB, free: 8.695 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003117/0.5266, allocations: 1.078 MB / 0.6202 GB, free: 7.609 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001285/0.5267, allocations: 23.98 kB / 0.6203 GB, free: 7.586 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007483/0.5342, allocations: 4.321 MB / 0.6245 GB, free: 3.129 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.5343, allocations: 0 / 0.6245 GB, free: 3.129 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007823/0.5421, allocations: 3.456 MB / 0.6279 GB, free: 15.64 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005462/0.5427, allocations: 235.5 kB / 0.6281 GB, free: 15.39 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001843/0.5429, allocations: 16 kB / 0.6281 GB, free: 15.37 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001185/0.5441, allocations: 127.9 kB / 0.6282 GB, free: 15.25 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003673/0.5445, allocations: 136.4 kB / 0.6284 GB, free: 15.11 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.166e-05/0.5445, allocations: 19.98 kB / 0.6284 GB, free: 15.09 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001495/0.546, allocations: 0.8075 MB / 0.6292 GB, free: 14.27 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.546, allocations: 0 / 0.6292 GB, free: 14.27 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001695/0.5477, allocations: 0.5969 MB / 0.6297 GB, free: 13.68 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (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,G1.pss.imLeadLag.TF.x_scaled[1],G1.pss.imLeadLag1.TF.x_scaled[1],G1.pss.derivativeLag.TF.x_scaled[1]) * 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 (59): * Single equations (assignments): 56 * 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.0002553/0.548, allocations: 132.8 kB / 0.6299 GB, free: 13.54 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.009205/0.5572, allocations: 3.895 MB / 0.6337 GB, free: 9.539 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.698e-06/0.5573, allocations: 3.938 kB / 0.6337 GB, free: 9.535 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003227/0.5605, allocations: 1.377 MB / 0.635 GB, free: 8.102 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009033/0.5614, allocations: 106.7 kB / 0.6351 GB, free: 8 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004648/0.5661, allocations: 2.73 MB / 0.6378 GB, free: 5.25 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007068/0.5668, allocations: 1.109 MB / 0.6389 GB, free: 4.109 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0007423/0.5676, allocations: 146.8 kB / 0.639 GB, free: 3.961 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002713/0.5678, allocations: 67.42 kB / 0.6391 GB, free: 3.898 MB / 442.7 MB Notification: Performance of SimCode: time 6.11e-07/0.5678, allocations: 0 / 0.6391 GB, free: 3.898 MB / 442.7 MB Notification: Performance of Templates: time 0.03307/0.6009, allocations: 22.17 MB / 0.6607 GB, free: 13.78 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)