Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_3.Example_3.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_3.Example_3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_3.Example_3") translateModel(OpenIPSL.Examples.Tutorial.Example_3.Example_3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_3.Example_3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001473/0.001473, allocations: 180.9 kB / 7.651 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.413/1.413, allocations: 221.5 MB / 229.6 MB, free: 7.566 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.0009037/0.0009039, allocations: 91.39 kB / 280.5 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5231/0.5231, allocations: 78.94 MB / 410.2 MB, free: 6.016 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.936e-05/1.977e-05, allocations: 0 / 485.9 MB, free: 11.53 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1587/0.1587, allocations: 69.52 MB / 0.5424 GB, free: 5.902 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4431/0.6018, allocations: 103.2 MB / 0.6432 GB, free: 10.96 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000257/0.6021, allocations: 82.27 kB / 0.6433 GB, free: 10.88 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2285/0.8307, allocations: 85.73 MB / 0.727 GB, free: 4.875 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.593e-06/0.8307, allocations: 0 / 0.727 GB, free: 4.875 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0002246/0.8309, allocations: 55.94 kB / 0.727 GB, free: 4.82 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 463 * Number of variables: 463 Notification: Performance of Generate backend data structure: time 0.01042/0.8414, allocations: 3.369 MB / 0.7303 GB, free: 1.359 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/0.8414, allocations: 15.97 kB / 0.7303 GB, free: 1.344 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007636/0.8491, allocations: 1.182 MB / 0.7315 GB, free: 160 kB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004979/0.8541, allocations: 1.743 MB / 0.7332 GB, free: 14.35 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004801/0.8546, allocations: 400.6 kB / 0.7336 GB, free: 13.9 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005649/0.8552, allocations: 115.9 kB / 0.7337 GB, free: 13.79 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003857/0.859, allocations: 1.893 MB / 0.7355 GB, free: 11.89 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003721/0.8628, allocations: 1.921 MB / 0.7374 GB, free: 9.945 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.735e-05/0.8628, allocations: 0 / 0.7374 GB, free: 9.945 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001818/0.863, allocations: 0 / 0.7374 GB, free: 9.945 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.29e-05/0.8631, allocations: 51.94 kB / 0.7375 GB, free: 9.895 MB / 0.5417 GB 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.01969/0.8828, allocations: 8.836 MB / 0.7461 GB, free: 0.7344 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01009/0.8929, allocations: 4.504 MB / 0.7505 GB, free: 11.98 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002745/0.8957, allocations: 1.276 MB / 0.7517 GB, free: 10.69 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002494/0.896, allocations: 37.97 kB / 0.7518 GB, free: 10.66 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002779/0.8988, allocations: 1.497 MB / 0.7532 GB, free: 9.133 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=242): time 4.669e-06/0.8988, allocations: 0 / 0.7532 GB, free: 9.133 MB / 0.5573 GB Notification: Performance of matching and sorting (n=242): time 0.0222/0.921, allocations: 7.197 MB / 0.7603 GB, free: 1.91 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001421/0.9212, allocations: 239.6 kB / 0.7605 GB, free: 1.625 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3341/1.255, allocations: 1.866 MB / 0.7623 GB, free: 118.1 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0006121/1.256, allocations: 28.16 kB / 0.7623 GB, free: 118 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.00088/1.257, allocations: 1.153 MB / 0.7635 GB, free: 117.9 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008311/1.258, allocations: 0.8037 MB / 0.7643 GB, free: 117.5 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000172/1.258, allocations: 3.406 kB / 0.7643 GB, free: 117.5 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001047/1.258, allocations: 403 kB / 0.7646 GB, free: 117.2 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001582/1.26, allocations: 1.03 MB / 0.7656 GB, free: 117.2 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001602/1.261, allocations: 1.284 MB / 0.7669 GB, free: 117 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001757/1.263, allocations: 1.159 MB / 0.768 GB, free: 116.9 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.708e-06/1.263, allocations: 0 / 0.768 GB, free: 116.9 MB / 0.5573 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.01756/1.28, allocations: 6.471 MB / 0.7743 GB, free: 116.6 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 9.205e-05/1.281, allocations: 172.1 kB / 0.7745 GB, free: 116.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.734e-05/1.281, allocations: 8.203 kB / 0.7745 GB, free: 116.4 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009907/1.291, allocations: 2.704 MB / 0.7772 GB, free: 116.3 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002683/1.293, allocations: 485 kB / 0.7776 GB, free: 116.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02518/1.319, allocations: 16.11 MB / 0.7934 GB, free: 109.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004058/1.323, allocations: 369 kB / 0.7937 GB, free: 109.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004315/1.323, allocations: 89 kB / 0.7938 GB, free: 109.8 MB / 0.5573 GB Warning: Assuming fixed start value for the following 9 variables: gen3.gen.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real gen2.gen.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real gen1.gen.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real gen3.AVR.firstOrder2.y:VARIABLE(start = gen3.AVR.firstOrder2.y_start ) "Connector of Real output signal" type: Real gen3.gen.e1d:VARIABLE(start = gen3.gen.e1d0 unit = "1" ) "d-axis transient voltage" type: Real gen3.gen.e1q:VARIABLE(start = gen3.gen.e1q0 unit = "1" ) "q-axis transient voltage" type: Real gen3.gen.delta:VARIABLE(start = gen3.gen.delta0 unit = "rad" ) "Rotor angle" type: Real gen2.AVR.firstOrder2.y:VARIABLE(start = gen2.AVR.firstOrder2.y_start ) "Connector of Real output signal" type: Real gen2.gen.e1d:VARIABLE(start = gen2.gen.e1d0 unit = "1" ) "d-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (243): * Single equations (assignments): 230 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 5 * 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: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 3 {4 2,30 32,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.000652/1.324, allocations: 257.2 kB / 0.794 GB, free: 109.6 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007009/1.324, allocations: 294.8 kB / 0.7943 GB, free: 109.5 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02186/1.346, allocations: 7.388 MB / 0.8015 GB, free: 109.2 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.703e-05/1.346, allocations: 24.03 kB / 0.8016 GB, free: 109.2 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/1.346, allocations: 2.375 kB / 0.8016 GB, free: 109.2 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.595e-05/1.347, allocations: 18.81 kB / 0.8016 GB, free: 109.2 MB / 0.5573 GB 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 postOpt removeSimpleEquations (simulation): time 0.02937/1.376, allocations: 11.17 MB / 0.8125 GB, free: 107.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.516e-05/1.376, allocations: 4.75 kB / 0.8125 GB, free: 107.7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001682/1.378, allocations: 248.5 kB / 0.8127 GB, free: 107.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01219/1.39, allocations: 3.226 MB / 0.8159 GB, free: 107.5 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007499/1.391, allocations: 24.72 kB / 0.8159 GB, free: 107.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02862/1.419, allocations: 17 MB / 0.8325 GB, free: 97.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/1.419, allocations: 4.969 kB / 0.8325 GB, free: 97.6 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0232/1.443, allocations: 9.11 MB / 0.8414 GB, free: 94.75 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001338/1.444, allocations: 443.5 kB / 0.8418 GB, free: 94.44 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007543/1.445, allocations: 12.86 kB / 0.8418 GB, free: 94.43 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00264/1.447, allocations: 246.3 kB / 0.8421 GB, free: 94.42 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001199/1.449, allocations: 378.1 kB / 0.8424 GB, free: 94.36 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000169/1.449, allocations: 72.38 kB / 0.8425 GB, free: 94.34 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001961/1.451, allocations: 1.395 MB / 0.8439 GB, free: 93.73 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.1e-07/1.451, allocations: 0 / 0.8439 GB, free: 93.73 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003359/1.454, allocations: 0.8649 MB / 0.8447 GB, free: 93.66 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 24 (gen1.gen.delta,gen1.gen.w,gen1.gen.e1q,gen1.gen.e1d,gen1.AVR.ExcitationSystem.x_scaled[1],gen1.AVR.derivativeBlock.x,gen1.AVR.firstOrder2.y,gen1.AVR.simpleLagLim.state,gen2.gen.delta,gen2.gen.w,gen2.gen.e1q,gen2.gen.e1d,gen2.AVR.ExcitationSystem.x_scaled[1],gen2.AVR.derivativeBlock.x,gen2.AVR.firstOrder2.y,gen2.AVR.simpleLagLim.state,gen3.gen.delta,gen3.gen.w,gen3.gen.e1q,gen3.gen.e1d,gen3.AVR.ExcitationSystem.x_scaled[1],gen3.AVR.derivativeBlock.x,gen3.AVR.firstOrder2.y,gen3.AVR.simpleLagLim.state) * Number of discrete variables: 6 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (148): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {41 45,1 6,1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004108/1.455, allocations: 164.4 kB / 0.8449 GB, free: 93.57 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.009397/1.464, allocations: 4.858 MB / 0.8496 GB, free: 91.09 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.824e-06/1.464, allocations: 4.188 kB / 0.8496 GB, free: 91.09 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.007938/1.472, allocations: 3.405 MB / 0.8529 GB, free: 89.5 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002243/1.474, allocations: 206.4 kB / 0.8531 GB, free: 89.39 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007635/1.482, allocations: 4.277 MB / 0.8573 GB, free: 87.35 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00111/1.483, allocations: 1.844 MB / 0.8591 GB, free: 86.55 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001153/1.484, allocations: 224.9 kB / 0.8593 GB, free: 86.52 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005408/1.485, allocations: 140.1 kB / 0.8595 GB, free: 86.5 MB / 0.5573 GB Notification: Performance of SimCode: time 9.52e-07/1.485, allocations: 0 / 0.8595 GB, free: 86.5 MB / 0.5573 GB Notification: Performance of Templates: time 0.06432/1.549, allocations: 44.76 MB / 0.9032 GB, free: 62.01 MB / 0.5573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_3.Example_3.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_3.Example_3.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_3.Example_3.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_3.Example_3.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_3.Example_3.sim & ./OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_3.Example_3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_3.Example_3.pipe 2>&1)