Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_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_release_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.001363/0.001363, allocations: 174.2 kB / 7.647 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.277/1.277, allocations: 221.5 MB / 229.6 MB, free: 7.57 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.0008004/0.0008003, allocations: 102.1 kB / 280.5 MB, free: 5.301 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.451/0.451, allocations: 78.12 MB / 409.4 MB, free: 6.473 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.111e-05/3.122e-05, allocations: 0 / 485 MB, free: 12.39 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1447, allocations: 69.36 MB / 0.5413 GB, free: 6.918 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4215/0.5662, allocations: 102.4 MB / 0.6413 GB, free: 13.29 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002339/0.5665, allocations: 76.47 kB / 0.6414 GB, free: 13.22 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2208/0.7873, allocations: 83.27 MB / 0.7227 GB, free: 9.656 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.353e-06/0.7874, allocations: 0 / 0.7227 GB, free: 9.656 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.000187/0.7876, allocations: 59.94 kB / 0.7228 GB, free: 9.598 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.009127/0.7967, allocations: 3.369 MB / 0.7261 GB, free: 6.137 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.7968, allocations: 8.031 kB / 0.7261 GB, free: 6.129 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007745/0.8045, allocations: 1.182 MB / 0.7272 GB, free: 4.941 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005284/0.8099, allocations: 1.745 MB / 0.7289 GB, free: 3.133 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005507/0.8104, allocations: 408.6 kB / 0.7293 GB, free: 2.672 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008224/0.8113, allocations: 115.9 kB / 0.7294 GB, free: 2.559 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004741/0.816, allocations: 1.89 MB / 0.7313 GB, free: 0.668 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005323/0.8214, allocations: 1.921 MB / 0.7331 GB, free: 14.72 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.447e-05/0.8215, allocations: 0 / 0.7331 GB, free: 14.72 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003443/0.8218, allocations: 3.984 kB / 0.7331 GB, free: 14.72 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.752e-05/0.8219, allocations: 47.95 kB / 0.7332 GB, free: 14.67 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.01862/0.8405, allocations: 8.754 MB / 0.7417 GB, free: 5.594 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0098/0.8503, allocations: 4.524 MB / 0.7462 GB, free: 0.832 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002562/0.8529, allocations: 1.272 MB / 0.7474 GB, free: 15.55 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003456/0.8533, allocations: 41.95 kB / 0.7474 GB, free: 15.51 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003137/0.8565, allocations: 1.501 MB / 0.7489 GB, free: 13.98 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=242): time 6.342e-06/0.8565, allocations: 0 / 0.7489 GB, free: 13.98 MB / 0.5573 GB Notification: Performance of matching and sorting (n=242): time 0.02366/0.8802, allocations: 7.212 MB / 0.7559 GB, free: 6.742 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001116/0.8803, allocations: 235.6 kB / 0.7562 GB, free: 6.461 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003277/0.8836, allocations: 1.875 MB / 0.758 GB, free: 4.574 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0007072/0.8843, allocations: 33.69 kB / 0.758 GB, free: 4.535 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008848/0.8852, allocations: 1.15 MB / 0.7592 GB, free: 3.375 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001065/0.8863, allocations: 0.8043 MB / 0.7599 GB, free: 2.559 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001599/0.8865, allocations: 0 / 0.7599 GB, free: 2.559 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001867/0.8867, allocations: 402.7 kB / 0.7603 GB, free: 2.164 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001819/0.8885, allocations: 1.032 MB / 0.7613 GB, free: 1.129 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2908/1.179, allocations: 1.285 MB / 0.7626 GB, free: 118 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002218/1.182, allocations: 1.157 MB / 0.7637 GB, free: 117.9 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.187e-06/1.182, allocations: 5.062 kB / 0.7637 GB, free: 117.9 MB / 0.5573 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.01787/1.199, allocations: 6.476 MB / 0.7701 GB, free: 117.7 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 7.402e-05/1.2, allocations: 166.4 kB / 0.7702 GB, free: 117.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/1.2, allocations: 6.031 kB / 0.7702 GB, free: 117.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01027/1.21, allocations: 2.704 MB / 0.7729 GB, free: 117.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002779/1.213, allocations: 483.2 kB / 0.7733 GB, free: 117.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02517/1.238, allocations: 16.12 MB / 0.7891 GB, free: 111.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003848/1.242, allocations: 362.8 kB / 0.7894 GB, free: 111.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004061/1.242, allocations: 87.92 kB / 0.7895 GB, free: 111.1 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.0006279/1.243, allocations: 251.6 kB / 0.7897 GB, free: 110.9 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007177/1.244, allocations: 296.7 kB / 0.79 GB, free: 110.8 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02158/1.265, allocations: 7.391 MB / 0.7972 GB, free: 110.5 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.874e-05/1.265, allocations: 25.56 kB / 0.7972 GB, free: 110.5 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/1.265, allocations: 0 / 0.7972 GB, free: 110.5 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.454e-05/1.265, allocations: 11.94 kB / 0.7973 GB, free: 110.5 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.02769/1.293, allocations: 11.15 MB / 0.8082 GB, free: 108.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.133e-05/1.293, allocations: 3.594 kB / 0.8082 GB, free: 108.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001607/1.295, allocations: 245.8 kB / 0.8084 GB, free: 108.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01169/1.306, allocations: 3.23 MB / 0.8115 GB, free: 108.8 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006955/1.307, allocations: 25.33 kB / 0.8116 GB, free: 108.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03269/1.34, allocations: 16.99 MB / 0.8282 GB, free: 100.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.307e-06/1.34, allocations: 5.625 kB / 0.8282 GB, free: 100.6 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04045/1.38, allocations: 9.085 MB / 0.837 GB, free: 97.77 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001576/1.382, allocations: 447.4 kB / 0.8375 GB, free: 97.45 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009388/1.383, allocations: 7.75 kB / 0.8375 GB, free: 97.45 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004678/1.388, allocations: 237.5 kB / 0.8377 GB, free: 97.44 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001986/1.39, allocations: 388.5 kB / 0.8381 GB, free: 97.38 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003208/1.39, allocations: 72.64 kB / 0.8381 GB, free: 97.36 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.003498/1.394, allocations: 1.39 MB / 0.8395 GB, free: 96.75 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7.31e-07/1.394, allocations: 0 / 0.8395 GB, free: 96.75 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.005305/1.399, allocations: 0.8647 MB / 0.8403 GB, free: 96.71 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.0006226/1.4, allocations: 155.6 kB / 0.8405 GB, free: 96.62 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01434/1.414, allocations: 4.857 MB / 0.8452 GB, free: 94.14 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.675e-06/1.414, allocations: 192 / 0.8452 GB, free: 94.14 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.00883/1.423, allocations: 3.402 MB / 0.8486 GB, free: 92.56 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003076/1.426, allocations: 208.5 kB / 0.8488 GB, free: 92.45 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008597/1.435, allocations: 4.281 MB / 0.8529 GB, free: 90.42 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00105/1.436, allocations: 1.845 MB / 0.8547 GB, free: 89.62 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001126/1.437, allocations: 222.2 kB / 0.855 GB, free: 89.58 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005143/1.437, allocations: 141.7 kB / 0.8551 GB, free: 89.57 MB / 0.5573 GB Notification: Performance of SimCode: time 7.01e-07/1.437, allocations: 0 / 0.8551 GB, free: 89.57 MB / 0.5573 GB Notification: Performance of Templates: time 0.05763/1.495, allocations: 44.76 MB / 0.8988 GB, free: 66.36 MB / 0.5573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_3.Example_3.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_3.Example_3.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_3.Example_3.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_3.Example_3.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_3.Example_3.sim & ./OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_3.Example_3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_3.Example_3.pipe 2>&1)