Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_1.Example_1.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_1.Example_1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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_dev_OpenIPSL.Examples.Tutorial.Example_1.Example_1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008097/0.00081, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.464/1.464, allocations: 223.3 MB / 239.4 MB, free: 5.488 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.00117/0.00117, allocations: 172.6 kB / 290.6 MB, free: 2.16 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5649/0.5649, allocations: 91.91 MB / 433.6 MB, free: 10.32 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004312/0.0004314, allocations: 12 kB / 0.5048 GB, free: 7.285 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3889/0.3893, allocations: 72.46 MB / 0.5755 GB, free: 36.78 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.Tutorial.Example_1.Example_1): time 0.004401/0.3938, allocations: 5.101 MB / 0.5805 GB, free: 33.48 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003301/0.3971, allocations: 1.765 MB / 0.5822 GB, free: 32.23 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005742/0.3977, allocations: 5.938 kB / 0.5822 GB, free: 32.23 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000418/0.3982, allocations: 128.2 kB / 0.5824 GB, free: 32.19 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001525/0.3997, allocations: 0.5983 MB / 0.5829 GB, free: 31.8 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000906/0.4006, allocations: 457 kB / 0.5834 GB, free: 31.54 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009793/0.4016, allocations: 1.13 MB / 0.5845 GB, free: 30.98 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003049/0.4019, allocations: 218.5 kB / 0.5847 GB, free: 30.88 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004473/0.4024, allocations: 411.6 kB / 0.5851 GB, free: 30.7 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005378/0.4029, allocations: 0.5341 MB / 0.5856 GB, free: 30.46 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.687e-05/0.403, allocations: 50.09 kB / 0.5857 GB, free: 30.46 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000386/0.4034, allocations: 173.5 kB / 0.5858 GB, free: 30.43 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001382/0.4036, allocations: 186.9 kB / 0.586 GB, free: 30.32 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003164/0.4039, allocations: 474.2 kB / 0.5864 GB, free: 30.01 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009629/0.4049, allocations: 1.323 MB / 0.5877 GB, free: 29.57 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.4049, allocations: 4 kB / 0.5877 GB, free: 29.56 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.4049, allocations: 0 / 0.5877 GB, free: 29.56 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.2e-05/0.4049, allocations: 2.344 kB / 0.5877 GB, free: 29.56 MB / 430.1 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.005223/0.4101, allocations: 1.711 MB / 0.5894 GB, free: 28.73 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.4102, allocations: 8.562 kB / 0.5894 GB, free: 28.73 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003442/0.4136, allocations: 0.5303 MB / 0.5899 GB, free: 28.63 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00111/0.4148, allocations: 0.6936 MB / 0.5906 GB, free: 28.12 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001977/0.415, allocations: 150.6 kB / 0.5908 GB, free: 28.01 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/0.4151, allocations: 66.69 kB / 0.5908 GB, free: 27.98 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001564/0.4167, allocations: 0.8215 MB / 0.5916 GB, free: 27.66 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.576e-05/0.4167, allocations: 1.031 kB / 0.5916 GB, free: 27.66 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.527e-05/0.4168, allocations: 20.69 kB / 0.5917 GB, free: 27.65 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.616e-05/0.4168, allocations: 16.31 kB / 0.5917 GB, free: 27.64 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001539/0.4184, allocations: 0.7412 MB / 0.5924 GB, free: 27.39 MB / 430.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.005068/0.4234, allocations: 2.936 MB / 0.5953 GB, free: 25.71 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01483/0.4383, allocations: 3.92 MB / 0.5991 GB, free: 25.03 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001296/0.4396, allocations: 0.524 MB / 0.5996 GB, free: 24.83 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.665e-05/0.4397, allocations: 14.36 kB / 0.5996 GB, free: 24.82 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.886e-05/0.4398, allocations: 37.69 kB / 0.5996 GB, free: 24.78 MB / 430.1 MB Notification: Performance of pre-optimization done (n=64): time 2.955e-06/0.4398, allocations: 5.156 kB / 0.5997 GB, free: 24.78 MB / 430.1 MB Notification: Performance of matching and sorting (n=64): time 0.01308/0.4529, allocations: 3.913 MB / 0.6035 GB, free: 23.69 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/0.4529, allocations: 88.48 kB / 0.6036 GB, free: 23.59 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001222/0.4542, allocations: 0.7791 MB / 0.6043 GB, free: 23.23 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001373/0.4543, allocations: 40.58 kB / 0.6044 GB, free: 23.19 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002538/0.4546, allocations: 381.2 kB / 0.6047 GB, free: 22.89 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000224/0.4548, allocations: 240.1 kB / 0.6049 GB, free: 22.7 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001474/0.455, allocations: 94.7 kB / 0.605 GB, free: 22.65 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.255e-05/0.455, allocations: 346.5 kB / 0.6054 GB, free: 22.33 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001187/0.4562, allocations: 0.5866 MB / 0.6059 GB, free: 22.11 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001279/0.4575, allocations: 0.6983 MB / 0.6066 GB, free: 21.79 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01983/0.4774, allocations: 4.299 MB / 0.6108 GB, free: 20.65 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.736e-06/0.4774, allocations: 1.828 kB / 0.6108 GB, free: 20.65 MB / 430.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.008725/0.4861, allocations: 2.875 MB / 0.6136 GB, free: 19.81 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.547e-05/0.4863, allocations: 145 kB / 0.6138 GB, free: 19.65 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.948e-06/0.4863, allocations: 1.219 kB / 0.6138 GB, free: 19.65 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004917/0.4912, allocations: 1.201 MB / 0.6149 GB, free: 19.42 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001104/0.4923, allocations: 168.7 kB / 0.6151 GB, free: 19.41 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01066/0.503, allocations: 5.11 MB / 0.6201 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00148/0.5045, allocations: 151 kB / 0.6202 GB, free: 15.35 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.595e-05/0.5046, allocations: 31.98 kB / 0.6203 GB, free: 15.32 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.5046, allocations: 6.344 kB / 0.6203 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007141/0.5118, allocations: 2.735 MB / 0.6229 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.5118, allocations: 4 kB / 0.623 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004214/0.516, allocations: 1.202 MB / 0.6241 GB, free: 11.36 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009775/0.517, allocations: 167.7 kB / 0.6243 GB, free: 11.19 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009152/0.5262, allocations: 5.105 MB / 0.6293 GB, free: 5.953 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001353/0.5276, allocations: 131.2 kB / 0.6294 GB, free: 5.824 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.721e-05/0.5277, allocations: 35.98 kB / 0.6294 GB, free: 5.789 MB / 430.1 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.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: 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 (104): * Single equations (assignments): 101 * 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.0005422/0.5282, allocations: 306.3 kB / 0.6297 GB, free: 5.48 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001547/0.5284, allocations: 90.95 kB / 0.6298 GB, free: 5.391 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006158/0.5345, allocations: 2.395 MB / 0.6321 GB, free: 2.973 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.867e-06/0.5346, allocations: 8 kB / 0.6322 GB, free: 2.965 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.5346, allocations: 11.92 kB / 0.6322 GB, free: 2.953 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/0.5346, allocations: 0 / 0.6322 GB, free: 2.953 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007873/0.5425, allocations: 3.678 MB / 0.6358 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.5425, allocations: 0 / 0.6358 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005666/0.5431, allocations: 79.89 kB / 0.6358 GB, free: 15.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003689/0.5468, allocations: 1.084 MB / 0.6369 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-05/0.5469, allocations: 12 kB / 0.6369 GB, free: 13.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008987/0.5559, allocations: 4.152 MB / 0.641 GB, free: 9.707 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.5559, allocations: 0 / 0.641 GB, free: 9.707 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008428/0.5644, allocations: 3.068 MB / 0.644 GB, free: 6.602 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004445/0.5648, allocations: 187.8 kB / 0.6441 GB, free: 6.398 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001308/0.565, allocations: 16 kB / 0.6441 GB, free: 6.383 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008786/0.5659, allocations: 75.94 kB / 0.6442 GB, free: 6.309 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003512/0.5662, allocations: 128.3 kB / 0.6443 GB, free: 6.184 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.933e-05/0.5663, allocations: 16 kB / 0.6444 GB, free: 6.168 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007422/0.567, allocations: 0.5381 MB / 0.6449 GB, free: 5.637 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.567, allocations: 0 / 0.6449 GB, free: 5.637 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001575/0.5686, allocations: 0.515 MB / 0.6454 GB, free: 5.121 MB / 446.1 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 (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 {(9,9,48.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002461/0.5689, allocations: 139.2 kB / 0.6455 GB, free: 4.977 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009338/0.5782, allocations: 3.539 MB / 0.649 GB, free: 1.324 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.5783, allocations: 0 / 0.649 GB, free: 1.324 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003326/0.5816, allocations: 1.267 MB / 0.6502 GB, free: 0 / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001103/0.5827, allocations: 75.39 kB / 0.6503 GB, free: 15.92 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004278/0.587, allocations: 2.219 MB / 0.6525 GB, free: 13.68 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006992/0.5877, allocations: 0.9796 MB / 0.6534 GB, free: 12.67 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005572/0.5883, allocations: 89.41 kB / 0.6535 GB, free: 12.58 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002179/0.5885, allocations: 51.44 kB / 0.6535 GB, free: 12.53 MB / 462.1 MB Notification: Performance of SimCode: time 8.42e-07/0.5885, allocations: 0 / 0.6535 GB, free: 12.53 MB / 462.1 MB Notification: Performance of Templates: time 0.03137/0.6199, allocations: 18.18 MB / 0.6713 GB, free: 10.39 MB / 478.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_1.Example_1.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_1.Example_1.sim & ./OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_1.Example_1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe 2>&1)