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.000949/0.000949, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.266/1.266, allocations: 221.5 MB / 229.6 MB, free: 7.543 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.0008239/0.0008239, allocations: 94.05 kB / 280.5 MB, free: 5.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5689/0.5689, allocations: 78.12 MB / 409.4 MB, free: 6.438 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.635e-05/1.637e-05, allocations: 7.938 kB / 485 MB, free: 12.43 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1558, allocations: 69.36 MB / 0.5413 GB, free: 6.949 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4261/0.5819, allocations: 98.23 MB / 0.6373 GB, free: 1.523 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002456/0.5822, allocations: 82.02 kB / 0.6373 GB, free: 1.445 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05748/0.6397, allocations: 21.95 MB / 0.6588 GB, free: 11.54 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.6397, allocations: 0 / 0.6588 GB, free: 11.54 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.259e-05/0.6398, allocations: 16 kB / 0.6588 GB, free: 11.52 MB / 474.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.002956/0.6428, allocations: 1.257 MB / 0.66 GB, free: 10.21 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.6428, allocations: 12.03 kB / 0.66 GB, free: 10.2 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002193/0.645, allocations: 390.4 kB / 0.6604 GB, free: 9.82 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009522/0.646, allocations: 0.5982 MB / 0.661 GB, free: 9.184 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001688/0.6462, allocations: 130.4 kB / 0.6611 GB, free: 9.039 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001014/0.6463, allocations: 35.91 kB / 0.6611 GB, free: 9.004 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009558/0.6472, allocations: 0.5575 MB / 0.6617 GB, free: 8.445 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001031/0.6483, allocations: 0.6211 MB / 0.6623 GB, free: 7.809 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.6483, allocations: 0 / 0.6623 GB, free: 7.809 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.372e-05/0.6484, allocations: 0 / 0.6623 GB, free: 7.809 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.383e-05/0.6484, allocations: 16 kB / 0.6623 GB, free: 7.793 MB / 474.7 MB Warning: The model contains alias variables with conflicting start and/or 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.004712/0.6531, allocations: 2.765 MB / 0.665 GB, free: 4.918 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01321/0.6663, allocations: 3.671 MB / 0.6686 GB, free: 1.195 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007403/0.6671, allocations: 380.2 kB / 0.669 GB, free: 0.8242 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.473e-05/0.6672, allocations: 8.516 kB / 0.669 GB, free: 0.8164 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.224e-05/0.6672, allocations: 43.11 kB / 0.669 GB, free: 0.7617 MB / 474.7 MB Notification: Performance of pre-optimization done (n=64): time 2.555e-06/0.6673, allocations: 4 kB / 0.669 GB, free: 0.7578 MB / 474.7 MB Notification: Performance of matching and sorting (n=64): time 0.005619/0.6729, allocations: 1.893 MB / 0.6709 GB, free: 14.85 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.601e-05/0.6729, allocations: 85.66 kB / 0.6709 GB, free: 14.75 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009699/0.6739, allocations: 0.6214 MB / 0.6715 GB, free: 14.12 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.62e-05/0.674, allocations: 25.7 kB / 0.6716 GB, free: 14.09 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002619/0.6743, allocations: 380.6 kB / 0.6719 GB, free: 13.71 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002112/0.6745, allocations: 228.5 kB / 0.6722 GB, free: 13.48 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-05/0.6746, allocations: 0 / 0.6722 GB, free: 13.48 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.994e-05/0.6747, allocations: 330 kB / 0.6725 GB, free: 13.16 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005021/0.6752, allocations: 330.7 kB / 0.6728 GB, free: 12.84 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005523/0.6758, allocations: 414.7 kB / 0.6732 GB, free: 12.41 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005606/0.6763, allocations: 365.2 kB / 0.6735 GB, free: 12.05 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.6763, allocations: 0 / 0.6735 GB, free: 12.05 MB / 490.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0062/0.6825, allocations: 2.114 MB / 0.6756 GB, free: 9.918 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002401/0.6828, allocations: 0.7061 MB / 0.6763 GB, free: 9.156 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.6828, allocations: 8 kB / 0.6763 GB, free: 9.148 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003909/0.6867, allocations: 0.9992 MB / 0.6773 GB, free: 8.145 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006023/0.6873, allocations: 111.8 kB / 0.6774 GB, free: 8.035 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007783/0.6951, allocations: 4.3 MB / 0.6816 GB, free: 3.617 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001106/0.6963, allocations: 107.3 kB / 0.6817 GB, free: 3.512 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.831e-05/0.6964, allocations: 28.66 kB / 0.6817 GB, free: 3.484 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.789e-06/0.6964, allocations: 8 kB / 0.6817 GB, free: 3.477 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00606/0.7024, allocations: 1.992 MB / 0.6837 GB, free: 1.477 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.7025, allocations: 0 / 0.6837 GB, free: 1.477 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00401/0.7065, allocations: 1.008 MB / 0.6846 GB, free: 472 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000587/0.7071, allocations: 103.8 kB / 0.6847 GB, free: 368 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008019/0.7151, allocations: 4.305 MB / 0.6889 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001044/0.7162, allocations: 92.59 kB / 0.689 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001167/0.7163, allocations: 28 kB / 0.6891 GB, free: 11.82 MB / 0.4948 GB Warning: Assuming fixed start value for the following 2 variables: G1.machine.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real G1.avr.vref:VARIABLE(unit = "1" fixed = false 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 61 * 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.0003073/0.7167, allocations: 112.9 kB / 0.6892 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002474/0.7169, allocations: 86.95 kB / 0.6892 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00551/0.7224, allocations: 1.966 MB / 0.6912 GB, free: 9.629 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.838e-06/0.7225, allocations: 8 kB / 0.6912 GB, free: 9.621 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.149e-05/0.7225, allocations: 7.984 kB / 0.6912 GB, free: 9.613 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.366e-05/0.7225, allocations: 3.984 kB / 0.6912 GB, free: 9.609 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007315/0.7298, allocations: 3.176 MB / 0.6943 GB, free: 6.344 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/0.7299, allocations: 6.609 kB / 0.6943 GB, free: 6.34 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005753/0.7304, allocations: 75.91 kB / 0.6944 GB, free: 6.266 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002825/0.7333, allocations: 0.8507 MB / 0.6952 GB, free: 5.406 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.976e-05/0.7334, allocations: 8 kB / 0.6952 GB, free: 5.398 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005793/0.7392, allocations: 3.271 MB / 0.6984 GB, free: 2.008 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/0.7392, allocations: 3.953 kB / 0.6984 GB, free: 2.004 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006527/0.7458, allocations: 2.527 MB / 0.7009 GB, free: 15.44 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000432/0.7462, allocations: 187.8 kB / 0.701 GB, free: 15.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002065/0.7464, allocations: 0 / 0.701 GB, free: 15.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000926/0.7474, allocations: 71.92 kB / 0.7011 GB, free: 15.16 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003358/0.7477, allocations: 124.3 kB / 0.7012 GB, free: 15.04 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.877e-05/0.7478, allocations: 16 kB / 0.7013 GB, free: 15.03 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000757/0.7486, allocations: 487.2 kB / 0.7017 GB, free: 14.55 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.8e-07/0.7486, allocations: 3.938 kB / 0.7017 GB, free: 14.55 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001767/0.7503, allocations: 443.3 kB / 0.7021 GB, free: 14.12 MB / 0.5105 GB 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 () * 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.0003346/0.7507, allocations: 147.6 kB / 0.7023 GB, free: 13.97 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.007003/0.7577, allocations: 2.705 MB / 0.7049 GB, free: 11.16 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.7577, allocations: 448 / 0.7049 GB, free: 11.16 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00267/0.7604, allocations: 1.093 MB / 0.706 GB, free: 10.01 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007333/0.7612, allocations: 52.3 kB / 0.706 GB, free: 9.961 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003412/0.7646, allocations: 1.448 MB / 0.7075 GB, free: 8.484 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006481/0.7653, allocations: 0.9956 MB / 0.7084 GB, free: 7.461 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006926/0.766, allocations: 106.9 kB / 0.7085 GB, free: 7.352 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001697/0.7661, allocations: 43.42 kB / 0.7086 GB, free: 7.312 MB / 0.5105 GB Notification: Performance of SimCode: time 4.71e-07/0.7661, allocations: 7.938 kB / 0.7086 GB, free: 7.305 MB / 0.5105 GB Notification: Performance of Templates: time 0.03089/0.797, allocations: 18.28 MB / 0.7264 GB, free: 5.207 MB / 0.5261 GB 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)