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.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_1.Example_1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,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=200000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_1.Example_1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 108.1 kB / 16.41 MB, free: 6.449 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.351/1.351, allocations: 222.9 MB / 240.1 MB, free: 4.34 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.001327/0.001327, allocations: 192.5 kB / 290.4 MB, free: 2.062 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.7238/0.7238, allocations: 91.9 MB / 432.4 MB, free: 9.125 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001526/0.001526, allocations: 78.34 kB / 0.5734 GB, free: 33.4 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1457, allocations: 71.29 MB / 0.643 GB, free: 3.586 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.Tutorial.Example_1.Example_1): time 0.005799/0.1516, allocations: 5.262 MB / 0.6481 GB, free: 14.3 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00306/0.1547, allocations: 1.759 MB / 0.6499 GB, free: 12.54 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003545/0.155, allocations: 8 kB / 0.6499 GB, free: 12.53 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004035/0.1554, allocations: 170.5 kB / 0.65 GB, free: 12.36 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001458/0.1569, allocations: 0.6798 MB / 0.6507 GB, free: 11.68 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009818/0.1579, allocations: 0.4936 MB / 0.6512 GB, free: 11.19 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001206/0.1591, allocations: 1.203 MB / 0.6523 GB, free: 9.98 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003502/0.1595, allocations: 250.3 kB / 0.6526 GB, free: 9.723 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005376/0.16, allocations: 490.2 kB / 0.653 GB, free: 9.242 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006635/0.1607, allocations: 0.6068 MB / 0.6536 GB, free: 8.633 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001461/0.1609, allocations: 112 kB / 0.6537 GB, free: 8.523 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004551/0.1613, allocations: 251.8 kB / 0.654 GB, free: 8.277 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002254/0.1616, allocations: 251.1 kB / 0.6542 GB, free: 8.031 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000423/0.162, allocations: 0.5051 MB / 0.6547 GB, free: 7.523 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001392/0.1634, allocations: 1.424 MB / 0.6561 GB, free: 6.094 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.1634, allocations: 0 / 0.6561 GB, free: 6.094 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1634, allocations: 4 kB / 0.6561 GB, free: 6.09 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.1634, allocations: 4 kB / 0.6561 GB, free: 6.086 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: 132 * Number of variables: 132 Notification: Performance of Generate backend data structure: time 0.005556/0.169, allocations: 1.872 MB / 0.6579 GB, free: 4.16 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.559e-05/0.1691, allocations: 8.031 kB / 0.658 GB, free: 4.152 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003375/0.1725, allocations: 0.531 MB / 0.6585 GB, free: 3.621 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001045/0.1735, allocations: 0.6904 MB / 0.6591 GB, free: 2.891 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001786/0.1737, allocations: 150.3 kB / 0.6593 GB, free: 2.727 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000119/0.1738, allocations: 64 kB / 0.6594 GB, free: 2.664 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001457/0.1753, allocations: 0.7759 MB / 0.6601 GB, free: 1.875 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/0.1753, allocations: 4 kB / 0.6601 GB, free: 1.871 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.736e-05/0.1754, allocations: 20 kB / 0.6601 GB, free: 1.852 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.486e-05/0.1754, allocations: 12 kB / 0.6601 GB, free: 1.84 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001393/0.1768, allocations: 0.6922 MB / 0.6608 GB, free: 1.148 MB / 462.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.00481/0.1816, allocations: 2.886 MB / 0.6636 GB, free: 14.14 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01196/0.1936, allocations: 2.936 MB / 0.6665 GB, free: 11.15 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00105/0.1947, allocations: 498.2 kB / 0.667 GB, free: 10.66 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.141e-05/0.1948, allocations: 8.562 kB / 0.667 GB, free: 10.65 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/0.1948, allocations: 35.12 kB / 0.667 GB, free: 10.61 MB / 478.1 MB Notification: Performance of pre-optimization done (n=64): time 3.656e-06/0.1948, allocations: 4 kB / 0.667 GB, free: 10.61 MB / 478.1 MB Notification: Performance of matching and sorting (n=64): time 0.01111/0.206, allocations: 3.298 MB / 0.6702 GB, free: 7.227 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.269e-05/0.2061, allocations: 89.66 kB / 0.6703 GB, free: 7.121 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001198/0.2073, allocations: 0.7899 MB / 0.6711 GB, free: 6.316 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001201/0.2074, allocations: 45.7 kB / 0.6711 GB, free: 6.266 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003038/0.2077, allocations: 377.1 kB / 0.6715 GB, free: 5.895 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002518/0.208, allocations: 249.9 kB / 0.6717 GB, free: 5.648 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003587/0.2083, allocations: 182.6 kB / 0.6719 GB, free: 5.465 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.2085, allocations: 345.9 kB / 0.6722 GB, free: 5.121 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001137/0.2096, allocations: 0.5514 MB / 0.6728 GB, free: 4.566 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00121/0.2108, allocations: 0.6586 MB / 0.6734 GB, free: 3.875 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01801/0.2288, allocations: 4.018 MB / 0.6774 GB, free: 15.83 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/0.2289, allocations: 0 / 0.6774 GB, free: 15.83 MB / 494.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.007454/0.2363, allocations: 2.517 MB / 0.6798 GB, free: 13.3 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.2364, allocations: 8 kB / 0.6798 GB, free: 13.29 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.2364, allocations: 0 / 0.6798 GB, free: 13.29 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004219/0.2406, allocations: 1.054 MB / 0.6808 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009064/0.2415, allocations: 171.7 kB / 0.681 GB, free: 12.06 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01055/0.2521, allocations: 5.082 MB / 0.686 GB, free: 6.828 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001286/0.2534, allocations: 119.3 kB / 0.6861 GB, free: 6.711 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.789e-05/0.2535, allocations: 39.92 kB / 0.6861 GB, free: 6.672 MB / 494.1 MB Warning: Assuming fixed start value for the following 2 variables: G1.machine.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real 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.001393/0.2549, allocations: 0.6934 MB / 0.6868 GB, free: 5.973 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001131/0.2561, allocations: 0.643 MB / 0.6874 GB, free: 5.305 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01826/0.2743, allocations: 3.994 MB / 0.6913 GB, free: 1.285 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.431e-06/0.2744, allocations: 4 kB / 0.6913 GB, free: 1.281 MB / 494.1 MB Notification: Performance of matching and sorting (n=125) (initialization_lambda0): time 0.007525/0.2819, allocations: 2.49 MB / 0.6938 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.282, allocations: 4 kB / 0.6938 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.282, allocations: 4 kB / 0.6938 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004119/0.2861, allocations: 1.05 MB / 0.6948 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008823/0.287, allocations: 163.7 kB / 0.695 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01032/0.2973, allocations: 5.072 MB / 0.6999 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001239/0.2986, allocations: 115.5 kB / 0.7 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.401e-05/0.2987, allocations: 35.98 kB / 0.7001 GB, free: 8.184 MB / 0.4981 GB Warning: Assuming fixed start value for the following 2 variables: G1.machine.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real 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: 8 * 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 (104): * Single equations (assignments): 101 * 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.0003381/0.299, allocations: 240.5 kB / 0.7003 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001542/0.2992, allocations: 95.39 kB / 0.7004 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006056/0.3053, allocations: 2.035 MB / 0.7024 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.866e-06/0.3053, allocations: 3.984 kB / 0.7024 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.3053, allocations: 0 / 0.7024 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001913/0.3055, allocations: 184.3 kB / 0.7025 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001313/0.3056, allocations: 15.98 kB / 0.7026 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007991/0.3064, allocations: 63.94 kB / 0.7026 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004197/0.3069, allocations: 184.2 kB / 0.7028 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004714/0.3116, allocations: 1.49 MB / 0.7042 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002972/0.3146, allocations: 1.613 MB / 0.7058 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008612/0.3154, allocations: 408.3 kB / 0.7062 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006484/0.3161, allocations: 0.5303 MB / 0.7067 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of Backend: time 5.21e-07/0.3161, allocations: 0 / 0.7067 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007649/0.3238, allocations: 2.997 MB / 0.7097 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of SimCode: time 0.002579/0.3263, allocations: 2.215 MB / 0.7118 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of Templates: time 0.03451/0.3609, allocations: 23.89 MB / 0.7352 GB, free: 4.008 MB / 0.5294 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_1.Example_1.makefile (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=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe 2>&1)