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.001312/0.001312, allocations: 111.6 kB / 16.42 MB, free: 6.457 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.381/1.381, allocations: 222.9 MB / 240.1 MB, free: 4.352 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.001378/0.001378, allocations: 188.5 kB / 290.4 MB, free: 2.074 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.6778/0.6778, allocations: 91.9 MB / 432.4 MB, free: 9.129 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001511, allocations: 78.59 kB / 0.5734 GB, free: 33.37 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1295, allocations: 71.29 MB / 0.643 GB, free: 3.594 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.Tutorial.Example_2.Example_2): time 0.006351/0.1359, allocations: 5.94 MB / 0.6488 GB, free: 13.62 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003904/0.1398, allocations: 2.148 MB / 0.6509 GB, free: 11.47 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004777/0.1404, allocations: 12 kB / 0.6509 GB, free: 11.46 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006387/0.141, allocations: 246.1 kB / 0.6511 GB, free: 11.21 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001772/0.1428, allocations: 0.7988 MB / 0.6519 GB, free: 10.41 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001256/0.1441, allocations: 0.7073 MB / 0.6526 GB, free: 9.711 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001641/0.1457, allocations: 1.839 MB / 0.6544 GB, free: 7.867 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004076/0.1461, allocations: 297.3 kB / 0.6547 GB, free: 7.566 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008024/0.147, allocations: 0.6928 MB / 0.6554 GB, free: 6.871 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008668/0.1478, allocations: 0.7936 MB / 0.6561 GB, free: 6.074 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002188/0.1481, allocations: 160 kB / 0.6563 GB, free: 5.918 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004988/0.1486, allocations: 303.8 kB / 0.6566 GB, free: 5.621 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003225/0.1489, allocations: 354.8 kB / 0.6569 GB, free: 5.273 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005417/0.1494, allocations: 0.6723 MB / 0.6576 GB, free: 4.598 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001677/0.1511, allocations: 1.951 MB / 0.6595 GB, free: 2.641 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1512, allocations: 3.938 kB / 0.6595 GB, free: 2.637 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1512, allocations: 0 / 0.6595 GB, free: 2.637 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.066e-05/0.1512, allocations: 4 kB / 0.6595 GB, free: 2.633 MB / 462.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.007488/0.1587, allocations: 2.263 MB / 0.6617 GB, free: 324 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.1587, allocations: 12.03 kB / 0.6617 GB, free: 312 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003588/0.1623, allocations: 0.5496 MB / 0.6622 GB, free: 15.75 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002042/0.1644, allocations: 1.003 MB / 0.6632 GB, free: 14.7 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003225/0.1647, allocations: 235.5 kB / 0.6634 GB, free: 14.43 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001605/0.1649, allocations: 71.91 kB / 0.6635 GB, free: 14.36 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002036/0.167, allocations: 0.9718 MB / 0.6645 GB, free: 13.37 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.167, allocations: 0 / 0.6645 GB, free: 13.37 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-05/0.1671, allocations: 24 kB / 0.6645 GB, free: 13.34 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.367e-05/0.1671, allocations: 16 kB / 0.6645 GB, free: 13.33 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002039/0.1691, allocations: 0.9109 MB / 0.6654 GB, free: 12.42 MB / 478.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.006286/0.1754, allocations: 3.623 MB / 0.6689 GB, free: 8.672 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0144/0.1899, allocations: 3.279 MB / 0.6721 GB, free: 5.348 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001427/0.1913, allocations: 0.5728 MB / 0.6727 GB, free: 4.773 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.239e-05/0.1914, allocations: 16.62 kB / 0.6727 GB, free: 4.758 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.882e-05/0.1914, allocations: 39.22 kB / 0.6727 GB, free: 4.711 MB / 478.1 MB Notification: Performance of pre-optimization done (n=76): time 2.885e-06/0.1915, allocations: 0 / 0.6727 GB, free: 4.711 MB / 478.1 MB Notification: Performance of matching and sorting (n=76): time 0.01311/0.2046, allocations: 3.643 MB / 0.6763 GB, free: 0.9922 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.721e-05/0.2047, allocations: 115.5 kB / 0.6764 GB, free: 0.8555 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002256/0.2069, allocations: 1.173 MB / 0.6776 GB, free: 15.66 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001843/0.2071, allocations: 37.7 kB / 0.6776 GB, free: 15.62 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004007/0.2076, allocations: 468.5 kB / 0.678 GB, free: 15.16 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003298/0.2079, allocations: 276 kB / 0.6783 GB, free: 14.88 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004136/0.2083, allocations: 210.8 kB / 0.6785 GB, free: 14.67 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.2085, allocations: 349.9 kB / 0.6788 GB, free: 14.32 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001485/0.2099, allocations: 0.658 MB / 0.6795 GB, free: 13.66 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001522/0.2115, allocations: 0.7791 MB / 0.6802 GB, free: 12.86 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02096/0.2325, allocations: 4.508 MB / 0.6846 GB, free: 8.32 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.2325, allocations: 0 / 0.6846 GB, free: 8.32 MB / 494.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.008658/0.2412, allocations: 2.769 MB / 0.6873 GB, free: 5.531 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.2412, allocations: 4 kB / 0.6873 GB, free: 5.527 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.2412, allocations: 11.94 kB / 0.6874 GB, free: 5.516 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004523/0.2458, allocations: 1.054 MB / 0.6884 GB, free: 4.453 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001314/0.2471, allocations: 223.7 kB / 0.6886 GB, free: 4.234 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01113/0.2582, allocations: 5.062 MB / 0.6935 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001767/0.26, allocations: 178.9 kB / 0.6937 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001074/0.2601, allocations: 43.92 kB / 0.6938 GB, free: 14.8 MB / 0.4981 GB 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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001789/0.2619, allocations: 0.8344 MB / 0.6946 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001429/0.2634, allocations: 0.7479 MB / 0.6953 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02033/0.2837, allocations: 4.454 MB / 0.6997 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.529e-06/0.2837, allocations: 0 / 0.6997 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of matching and sorting (n=140) (initialization_lambda0): time 0.008265/0.292, allocations: 2.722 MB / 0.7023 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.2921, allocations: 4 kB / 0.7023 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.2921, allocations: 4 kB / 0.7023 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004425/0.2965, allocations: 1.05 MB / 0.7033 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001191/0.2977, allocations: 211.7 kB / 0.7035 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01091/0.3086, allocations: 5.071 MB / 0.7085 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00173/0.3104, allocations: 151.2 kB / 0.7086 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001018/0.3105, allocations: 43.98 kB / 0.7087 GB, free: 15.29 MB / 0.5137 GB 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.0003384/0.3108, allocations: 228.5 kB / 0.7089 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002215/0.3111, allocations: 122.6 kB / 0.709 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007021/0.3181, allocations: 2.275 MB / 0.7112 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.422e-05/0.3181, allocations: 3.984 kB / 0.7112 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.287e-06/0.3181, allocations: 3.938 kB / 0.7112 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003562/0.3185, allocations: 223.5 kB / 0.7115 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001967/0.3187, allocations: 23.98 kB / 0.7115 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001208/0.3199, allocations: 107.9 kB / 0.7116 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004395/0.3204, allocations: 196.3 kB / 0.7118 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005827/0.3262, allocations: 1.761 MB / 0.7135 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004049/0.3303, allocations: 2.008 MB / 0.7155 GB, free: 8.262 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001146/0.3314, allocations: 0.5127 MB / 0.716 GB, free: 7.75 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001631/0.3331, allocations: 0.8153 MB / 0.7168 GB, free: 6.926 MB / 0.5137 GB Notification: Performance of Backend: time 1.974e-06/0.3331, allocations: 4 kB / 0.7168 GB, free: 6.922 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.009013/0.3421, allocations: 3.231 MB / 0.7199 GB, free: 3.574 MB / 0.5137 GB Notification: Performance of SimCode: time 0.003544/0.3457, allocations: 2.637 MB / 0.7225 GB, free: 0.8828 MB / 0.5137 GB Notification: Performance of Templates: time 0.04281/0.3885, allocations: 28.34 MB / 0.7502 GB, free: 4.602 MB / 0.545 GB 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)