Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_2.Example_2.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_2.Example_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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_dev_OpenIPSL.Examples.Tutorial.Example_2.Example_2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009379/0.0009379, allocations: 97.64 kB / 15.36 MB, free: 0.7305 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.457/1.457, allocations: 223.3 MB / 239.4 MB, free: 5.5 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.001347/0.001347, allocations: 172.6 kB / 290.6 MB, free: 2.18 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5712/0.5712, allocations: 91.92 MB / 433.6 MB, free: 10.31 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000456/0.0004563, allocations: 16 kB / 0.5048 GB, free: 7.281 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3971/0.3976, allocations: 72.46 MB / 0.5755 GB, free: 37.21 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.Tutorial.Example_2.Example_2): time 0.004542/0.4021, allocations: 5.748 MB / 0.5811 GB, free: 33.11 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003602/0.4058, allocations: 2.152 MB / 0.5832 GB, free: 31.58 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006324/0.4064, allocations: 8.812 kB / 0.5833 GB, free: 31.58 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006479/0.4071, allocations: 188.7 kB / 0.5834 GB, free: 31.5 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001579/0.4087, allocations: 0.6814 MB / 0.5841 GB, free: 31.06 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001168/0.4098, allocations: 0.6602 MB / 0.5847 GB, free: 30.66 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001401/0.4113, allocations: 1.688 MB / 0.5864 GB, free: 29.85 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003655/0.4116, allocations: 267.8 kB / 0.5866 GB, free: 29.73 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005867/0.4122, allocations: 0.5546 MB / 0.5872 GB, free: 29.5 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006464/0.4129, allocations: 0.6811 MB / 0.5879 GB, free: 29.2 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001158/0.413, allocations: 59.91 kB / 0.5879 GB, free: 29.2 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000385/0.4134, allocations: 185.7 kB / 0.5881 GB, free: 29.16 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000196/0.4136, allocations: 273 kB / 0.5883 GB, free: 29.02 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000378/0.414, allocations: 0.5732 MB / 0.5889 GB, free: 28.62 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001174/0.4152, allocations: 1.812 MB / 0.5907 GB, free: 28.06 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.4152, allocations: 0 / 0.5907 GB, free: 28.06 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.4152, allocations: 5.562 kB / 0.5907 GB, free: 28.05 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.267e-05/0.4152, allocations: 0 / 0.5907 GB, free: 28.05 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: 159 * Number of variables: 159 Notification: Performance of Generate backend data structure: time 0.006649/0.4219, allocations: 2.09 MB / 0.5927 GB, free: 27.08 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.4219, allocations: 9.875 kB / 0.5927 GB, free: 27.08 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003548/0.4255, allocations: 0.5516 MB / 0.5933 GB, free: 26.96 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002056/0.4275, allocations: 1.006 MB / 0.5943 GB, free: 26.31 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002838/0.4278, allocations: 239.4 kB / 0.5945 GB, free: 26.1 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001691/0.428, allocations: 73.83 kB / 0.5946 GB, free: 26.07 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002341/0.4304, allocations: 1.015 MB / 0.5955 GB, free: 25.67 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.781e-05/0.4304, allocations: 0 / 0.5955 GB, free: 25.67 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.884e-05/0.4305, allocations: 25.25 kB / 0.5956 GB, free: 25.65 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.218e-05/0.4305, allocations: 16.09 kB / 0.5956 GB, free: 25.65 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002158/0.4327, allocations: 0.9712 MB / 0.5965 GB, free: 25.3 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.007577/0.4403, allocations: 3.677 MB / 0.6001 GB, free: 23.27 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01564/0.4559, allocations: 4.3 MB / 0.6043 GB, free: 22.45 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0016/0.4576, allocations: 0.6261 MB / 0.6049 GB, free: 22.21 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.476e-05/0.4577, allocations: 9.516 kB / 0.6049 GB, free: 22.21 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/0.4577, allocations: 43.81 kB / 0.605 GB, free: 22.16 MB / 430.1 MB Notification: Performance of pre-optimization done (n=76): time 2.575e-06/0.4577, allocations: 0 / 0.605 GB, free: 22.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=76): time 0.01338/0.4711, allocations: 4.265 MB / 0.6091 GB, free: 20.93 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.025e-05/0.4712, allocations: 111.2 kB / 0.6093 GB, free: 20.8 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002534/0.4737, allocations: 1.169 MB / 0.6104 GB, free: 20.32 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002723/0.474, allocations: 40.67 kB / 0.6104 GB, free: 20.27 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003359/0.4744, allocations: 471.1 kB / 0.6109 GB, free: 19.9 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003214/0.4747, allocations: 284.5 kB / 0.6112 GB, free: 19.68 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002053/0.4749, allocations: 104.1 kB / 0.6113 GB, free: 19.62 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.475, allocations: 354.6 kB / 0.6116 GB, free: 19.3 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002311/0.4774, allocations: 0.6922 MB / 0.6123 GB, free: 19.04 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001657/0.479, allocations: 0.8254 MB / 0.6131 GB, free: 18.66 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02425/0.5033, allocations: 4.809 MB / 0.6178 GB, free: 17.34 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.149e-05/0.5034, allocations: 4.875 kB / 0.6178 GB, free: 17.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.008799/0.5122, allocations: 3.132 MB / 0.6208 GB, free: 15.05 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.941e-05/0.5123, allocations: 143.4 kB / 0.621 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.5123, allocations: 0 / 0.621 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004123/0.5164, allocations: 1.204 MB / 0.6221 GB, free: 13.68 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001177/0.5176, allocations: 223.7 kB / 0.6224 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009353/0.527, allocations: 5.107 MB / 0.6273 GB, free: 8.211 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001963/0.529, allocations: 195 kB / 0.6275 GB, free: 8.02 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001087/0.5291, allocations: 43.98 kB / 0.6276 GB, free: 7.977 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.206e-06/0.5291, allocations: 4 kB / 0.6276 GB, free: 7.973 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007489/0.5366, allocations: 2.945 MB / 0.6305 GB, free: 5.016 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.649e-05/0.5366, allocations: 0 / 0.6305 GB, free: 5.016 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004098/0.5408, allocations: 1.203 MB / 0.6316 GB, free: 3.805 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001215/0.542, allocations: 211.7 kB / 0.6318 GB, free: 3.598 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009955/0.552, allocations: 5.115 MB / 0.6368 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001936/0.5539, allocations: 187.1 kB / 0.637 GB, free: 14.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001355/0.5541, allocations: 32 kB / 0.637 GB, free: 14.12 MB / 446.1 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.0007155/0.5548, allocations: 360.4 kB / 0.6374 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000257/0.5551, allocations: 106.7 kB / 0.6375 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007585/0.5627, allocations: 2.662 MB / 0.6401 GB, free: 10.98 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.948e-06/0.5627, allocations: 4 kB / 0.6401 GB, free: 10.98 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/0.5627, allocations: 8 kB / 0.6401 GB, free: 10.97 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.744e-05/0.5627, allocations: 3.984 kB / 0.6401 GB, free: 10.96 MB / 446.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 postOpt removeSimpleEquations (simulation): time 0.01009/0.5728, allocations: 4.236 MB / 0.6442 GB, free: 6.629 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.145e-06/0.5729, allocations: 0 / 0.6442 GB, free: 6.629 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008678/0.5737, allocations: 111.9 kB / 0.6443 GB, free: 6.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003806/0.5776, allocations: 1.089 MB / 0.6454 GB, free: 5.422 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001552/0.5777, allocations: 23.98 kB / 0.6454 GB, free: 5.398 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008772/0.5865, allocations: 4.128 MB / 0.6495 GB, free: 1.137 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.5865, allocations: 0 / 0.6495 GB, free: 1.137 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009255/0.5958, allocations: 3.45 MB / 0.6528 GB, free: 13.65 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004786/0.5963, allocations: 227.5 kB / 0.653 GB, free: 13.41 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001731/0.5965, allocations: 23.92 kB / 0.6531 GB, free: 13.39 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001277/0.5978, allocations: 131.9 kB / 0.6532 GB, free: 13.26 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00043/0.5982, allocations: 136.4 kB / 0.6533 GB, free: 13.12 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-05/0.5983, allocations: 23.98 kB / 0.6533 GB, free: 13.1 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001548/0.5998, allocations: 0.8192 MB / 0.6541 GB, free: 12.27 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5999, allocations: 0 / 0.6541 GB, free: 12.27 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001644/0.6015, allocations: 0.5853 MB / 0.6547 GB, free: 11.68 MB / 462.1 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 (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.0002739/0.6018, allocations: 132.1 kB / 0.6548 GB, free: 11.55 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009768/0.6116, allocations: 3.895 MB / 0.6586 GB, free: 7.539 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.6116, allocations: 4.125 kB / 0.6587 GB, free: 7.535 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003678/0.6153, allocations: 1.377 MB / 0.66 GB, free: 6.105 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001208/0.6165, allocations: 111 kB / 0.6601 GB, free: 6 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00488/0.6214, allocations: 2.824 MB / 0.6629 GB, free: 3.152 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000655/0.6221, allocations: 1.082 MB / 0.6639 GB, free: 2.043 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006886/0.6228, allocations: 150.8 kB / 0.6641 GB, free: 1.891 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002865/0.6231, allocations: 75.41 kB / 0.6641 GB, free: 1.816 MB / 462.1 MB Notification: Performance of SimCode: time 6.51e-07/0.6231, allocations: 0 / 0.6641 GB, free: 1.816 MB / 462.1 MB Notification: Performance of Templates: time 0.03339/0.6565, allocations: 21.17 MB / 0.6848 GB, free: 12.7 MB / 494.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_2.Example_2.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_2.Example_2.sim & ./OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_2.Example_2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_2.Example_2.pipe 2>&1)