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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000987/0.000987, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00122/0.002207, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8696/0.8696, allocations: 177.2 MB / 188.2 MB, free: 4.492 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1617/1.031, allocations: 53.64 MB / 241.9 MB, free: 2.73 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 151.1 kB / 242.8 MB, free: 1.867 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00127/0.002329, allocations: 478 kB / 243.2 MB, free: 1.418 MB / 234.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.4313/0.4313, allocations: 88.97 MB / 332.9 MB, free: 15.54 MB / 330.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09086/0.5222, allocations: 30.21 MB / 363.1 MB, free: 3.207 MB / 346.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.Tutorial.Example_1.Example_1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,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=100000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_1.Example_1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.562e-06/1.562e-06, allocations: 0.7656 kB / 364.4 MB, free: 1.938 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.776e-05/1.933e-05, allocations: 6.312 kB / 364.4 MB, free: 1.93 MB / 346.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.Tutorial.Example_1.Example_1): time 0.006515/0.006534, allocations: 5.261 MB / 369.7 MB, free: 12.66 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004257/0.01079, allocations: 1.982 MB / 371.7 MB, free: 10.68 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005401/0.01133, allocations: 11.94 kB / 371.7 MB, free: 10.67 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004211/0.01175, allocations: 182.4 kB / 371.9 MB, free: 10.49 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001749/0.0135, allocations: 0.7366 MB / 372.6 MB, free: 9.75 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009483/0.01445, allocations: 486.8 kB / 373.1 MB, free: 9.273 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001374/0.01582, allocations: 1.316 MB / 374.4 MB, free: 7.953 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003203/0.01614, allocations: 173.5 kB / 374.6 MB, free: 7.762 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001192/0.01734, allocations: 0.9088 MB / 375.5 MB, free: 6.84 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007217/0.01806, allocations: 0.5102 MB / 376 MB, free: 6.328 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002044/0.01826, allocations: 120 kB / 376.1 MB, free: 6.211 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005234/0.01879, allocations: 263.8 kB / 376.4 MB, free: 5.953 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001904/0.01898, allocations: 195.3 kB / 376.6 MB, free: 5.762 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003429/0.01932, allocations: 287.4 kB / 376.8 MB, free: 5.48 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001147/0.02047, allocations: 0.903 MB / 377.7 MB, free: 4.574 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.662e-05/0.02048, allocations: 0 / 377.7 MB, free: 4.574 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.02048, allocations: 0 / 377.7 MB, free: 4.574 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.951e-05/0.02051, allocations: 0 / 377.7 MB, free: 4.574 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.004603/0.02512, allocations: 2.088 MB / 379.8 MB, free: 2.438 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.02515, allocations: 8.75 kB / 379.8 MB, free: 2.43 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002926/0.02808, allocations: 0.6754 MB / 380.5 MB, free: 1.754 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008472/0.02893, allocations: 449.3 kB / 380.9 MB, free: 1.289 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001761/0.0291, allocations: 193.8 kB / 381.1 MB, free: 1.07 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001163/0.02922, allocations: 67.95 kB / 381.2 MB, free: 1.004 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007744/0.02999, allocations: 442.9 kB / 381.6 MB, free: 0.5586 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.792e-05/0.03001, allocations: 0 / 381.6 MB, free: 0.5586 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.121e-05/0.03007, allocations: 24 kB / 381.7 MB, free: 0.5352 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.613e-05/0.03009, allocations: 12 kB / 381.7 MB, free: 0.5234 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005369/0.03062, allocations: 225 kB / 381.9 MB, free: 312 kB / 362.7 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.003111/0.03374, allocations: 1.42 MB / 383.3 MB, free: 14.86 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004575/0.03831, allocations: 1.683 MB / 385 MB, free: 13.16 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003138/0.03862, allocations: 153.2 kB / 385.1 MB, free: 13.01 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.135e-05/0.03869, allocations: 16.66 kB / 385.2 MB, free: 12.99 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003481/0.03903, allocations: 308 kB / 385.5 MB, free: 12.68 MB / 378.7 MB Notification: Performance of pre-optimization done (n=77): time 3.176e-06/0.03904, allocations: 0 / 385.5 MB, free: 12.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=77): time 0.003604/0.04264, allocations: 1.732 MB / 387.2 MB, free: 10.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.104e-05/0.04267, allocations: 60.06 kB / 387.3 MB, free: 10.86 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004327/0.04311, allocations: 0.648 MB / 387.9 MB, free: 10.2 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.571e-05/0.04315, allocations: 41.7 kB / 387.9 MB, free: 10.15 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001364/0.04329, allocations: 291 kB / 388.2 MB, free: 9.863 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001573/0.04344, allocations: 273.6 kB / 388.5 MB, free: 9.594 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002116/0.04366, allocations: 210.7 kB / 388.7 MB, free: 9.383 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.787e-05/0.04375, allocations: 353.8 kB / 389 MB, free: 9.031 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003168/0.04407, allocations: 214.6 kB / 389.3 MB, free: 8.82 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003646/0.04444, allocations: 337.1 kB / 389.6 MB, free: 8.465 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006495/0.04509, allocations: 0.5901 MB / 390.2 MB, free: 7.852 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.04509, allocations: 0 / 390.2 MB, free: 7.852 MB / 378.7 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002377/0.04747, allocations: 1.42 MB / 391.6 MB, free: 6.414 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.04748, allocations: 11.94 kB / 391.6 MB, free: 6.402 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.04749, allocations: 3.938 kB / 391.6 MB, free: 6.398 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002279/0.04977, allocations: 0.89 MB / 392.5 MB, free: 5.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004736/0.05024, allocations: 215.7 kB / 392.7 MB, free: 5.289 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003107/0.05335, allocations: 2.57 MB / 395.3 MB, free: 2.629 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004841/0.05383, allocations: 123.3 kB / 395.4 MB, free: 2.508 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.264e-05/0.05387, allocations: 20 kB / 395.4 MB, free: 2.488 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 14 (G1.avr.lagLimWindupGuard.inputLow,G1.avr.lagLimWindupGuard.inputBelow,G1.avr.lagLimWindupGuard.stateLow,G1.avr.lagLimWindupGuard.inputHigh,G1.avr.lagLimWindupGuard.inputAbove,G1.avr.lagLimWindupGuard.stateHigh,G1.avr.lagLimWindupGuard.atMin,$PRE.G1.avr.lagLimWindupGuard.atMin,G1.avr.lagLimWindupGuard.atMax,$PRE.G1.avr.lagLimWindupGuard.atMax,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4) * 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.000187/0.05406, allocations: 175.5 kB / 395.6 MB, free: 2.309 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.763e-05/0.05416, allocations: 79.92 kB / 395.7 MB, free: 2.23 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001817/0.05597, allocations: 1.102 MB / 396.8 MB, free: 1.113 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.858e-06/0.05598, allocations: 8 kB / 396.8 MB, free: 1.105 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.647e-06/0.05599, allocations: 7.938 kB / 396.8 MB, free: 1.098 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.226e-06/0.056, allocations: 11.98 kB / 396.8 MB, free: 1.086 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002494/0.0585, allocations: 1.613 MB / 398.4 MB, free: 15.43 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.0585, allocations: 4 kB / 398.4 MB, free: 15.42 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003034/0.0588, allocations: 108.4 kB / 398.5 MB, free: 15.32 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.517e-05/0.0589, allocations: 83.27 kB / 398.6 MB, free: 15.23 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001773/0.06067, allocations: 0.8092 MB / 399.4 MB, free: 14.42 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.537e-05/0.06072, allocations: 23.98 kB / 399.4 MB, free: 14.39 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002275/0.06299, allocations: 2.171 MB / 401.6 MB, free: 12.14 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.06299, allocations: 0 / 401.6 MB, free: 12.14 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001994/0.06499, allocations: 1.321 MB / 402.9 MB, free: 10.78 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.79e-05/0.06506, allocations: 20 kB / 402.9 MB, free: 10.76 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003014/0.06537, allocations: 55.95 kB / 403 MB, free: 10.71 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002163/0.06558, allocations: 136.4 kB / 403.1 MB, free: 10.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.375e-05/0.06562, allocations: 19.98 kB / 403.2 MB, free: 10.55 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002203/0.06584, allocations: 320.5 kB / 403.5 MB, free: 10.25 MB / 394.7 MB Notification: Performance of sort global known variables: time 9e-08/0.06584, allocations: 0 / 403.5 MB, free: 10.25 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005133/0.06635, allocations: 327.7 kB / 403.8 MB, free: 9.926 MB / 394.7 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.lagLimWindupGuard.state,G1.machine.delta,G1.machine.w,G1.machine.e1q,G1.machine.e1d,G1.machine.e2q,G1.machine.e2d) * Number of discrete variables: 12 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,G1.avr.lagLimWindupGuard.atMax,G1.avr.lagLimWindupGuard.atMin,G1.avr.lagLimWindupGuard.stateHigh,G1.avr.lagLimWindupGuard.inputAbove,G1.avr.lagLimWindupGuard.inputHigh,G1.avr.lagLimWindupGuard.stateLow,G1.avr.lagLimWindupGuard.inputBelow,G1.avr.lagLimWindupGuard.inputLow) * Number of discrete states: 2 (G1.avr.lagLimWindupGuard.atMax,G1.avr.lagLimWindupGuard.atMin) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001644/0.06651, allocations: 127.5 kB / 403.9 MB, free: 9.797 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001717/0.06823, allocations: 1.002 MB / 404.9 MB, free: 8.777 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.301e-05/0.06825, allocations: 12 kB / 404.9 MB, free: 8.766 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001044/0.0693, allocations: 0.6387 MB / 405.6 MB, free: 8.105 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004363/0.06973, allocations: 139.2 kB / 405.7 MB, free: 7.965 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00752/0.07725, allocations: 1.52 MB / 407.2 MB, free: 6.406 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001334/0.07739, allocations: 179.9 kB / 407.4 MB, free: 6.211 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002542/0.07764, allocations: 81.92 kB / 407.5 MB, free: 6.129 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002228/0.07787, allocations: 143.4 kB / 407.6 MB, free: 5.988 MB / 394.7 MB Notification: Performance of SimCode: time 1.273e-06/0.07787, allocations: 4 kB / 407.6 MB, free: 5.984 MB / 394.7 MB Notification: Performance of Templates: time 0.01888/0.09675, allocations: 18.1 MB / 425.7 MB, free: 4.035 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_1.Example_1.makefile [Timeout 660] (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=240 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6865044543519616]