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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.004072/0.004072, allocations: 171.8 kB / 15.11 MB, free: 5.578 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.13/1.13, allocations: 223.2 MB / 239 MB, free: 60 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008405/0.0008405, allocations: 91.42 kB / 290.2 MB, free: 4.461 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4019/0.4019, allocations: 79.43 MB / 420.8 MB, free: 36.26 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003224/0.0003224, allocations: 12 kB / 0.489 GB, free: 6.367 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09926/0.09959, allocations: 69.51 MB / 0.5569 GB, free: 0.7969 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2805/0.3801, allocations: 99.65 MB / 0.6542 GB, free: 1.609 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001804/0.3803, allocations: 87.73 kB / 0.6543 GB, free: 1.527 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05449/0.4348, allocations: 22.45 MB / 0.6763 GB, free: 11.11 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.4348, allocations: 0 / 0.6763 GB, free: 11.11 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.78e-05/0.4349, allocations: 13.31 kB / 0.6763 GB, free: 11.09 MB / 474.7 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.003741/0.4387, allocations: 1.486 MB / 0.6777 GB, free: 9.559 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.4387, allocations: 8.031 kB / 0.6777 GB, free: 9.551 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00229/0.441, allocations: 386.4 kB / 0.6781 GB, free: 9.172 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001072/0.4421, allocations: 0.6095 MB / 0.6787 GB, free: 8.523 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001674/0.4423, allocations: 154.3 kB / 0.6788 GB, free: 8.352 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001642/0.4424, allocations: 60.33 kB / 0.6789 GB, free: 8.293 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001511/0.4439, allocations: 0.8188 MB / 0.6797 GB, free: 7.461 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.444, allocations: 0 / 0.6797 GB, free: 7.461 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.91e-05/0.444, allocations: 20 kB / 0.6797 GB, free: 7.441 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/0.4441, allocations: 12.75 kB / 0.6797 GB, free: 7.43 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001358/0.4454, allocations: 0.7352 MB / 0.6804 GB, free: 6.691 MB / 474.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.004744/0.4502, allocations: 2.872 MB / 0.6832 GB, free: 3.699 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0131/0.4633, allocations: 3.911 MB / 0.6871 GB, free: 15.73 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001313/0.4635, allocations: 20.53 kB / 0.6871 GB, free: 15.71 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.4635, allocations: 35.12 kB / 0.6871 GB, free: 15.67 MB / 490.7 MB Notification: Performance of pre-optimization done (n=64): time 2.655e-06/0.4635, allocations: 0 / 0.6871 GB, free: 15.67 MB / 490.7 MB Notification: Performance of matching and sorting (n=64): time 0.01124/0.4748, allocations: 3.885 MB / 0.6909 GB, free: 11.71 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.072e-05/0.4748, allocations: 90.89 kB / 0.691 GB, free: 11.61 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001038/0.4759, allocations: 0.6682 MB / 0.6916 GB, free: 10.93 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001044/0.476, allocations: 37.7 kB / 0.6917 GB, free: 10.89 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002581/0.4763, allocations: 384.6 kB / 0.6921 GB, free: 10.51 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002301/0.4765, allocations: 228.6 kB / 0.6923 GB, free: 10.28 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.536e-05/0.4766, allocations: 16 kB / 0.6923 GB, free: 10.27 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.4767, allocations: 334 kB / 0.6926 GB, free: 9.934 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008869/0.4776, allocations: 473.8 kB / 0.6931 GB, free: 9.469 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009509/0.4785, allocations: 0.5567 MB / 0.6936 GB, free: 8.883 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009387/0.4795, allocations: 0.4998 MB / 0.6941 GB, free: 8.383 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.4795, allocations: 4 kB / 0.6941 GB, free: 8.379 MB / 490.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.006998/0.4865, allocations: 2.544 MB / 0.6966 GB, free: 5.816 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002195/0.4867, allocations: 0.711 MB / 0.6973 GB, free: 5.055 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.4868, allocations: 4 kB / 0.6973 GB, free: 5.051 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004447/0.4912, allocations: 1.239 MB / 0.6985 GB, free: 3.805 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005985/0.4918, allocations: 111.8 kB / 0.6986 GB, free: 3.695 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01089/0.5027, allocations: 5.581 MB / 0.704 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001084/0.5039, allocations: 127.3 kB / 0.7042 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001132/0.504, allocations: 20 kB / 0.7042 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.867e-06/0.504, allocations: 4 kB / 0.7042 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006868/0.5109, allocations: 2.418 MB / 0.7065 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.5109, allocations: 0 / 0.7065 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004445/0.5154, allocations: 1.25 MB / 0.7078 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005775/0.516, allocations: 103.8 kB / 0.7079 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01079/0.5268, allocations: 5.569 MB / 0.7133 GB, free: 4.375 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001058/0.5279, allocations: 121.3 kB / 0.7134 GB, free: 4.258 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001102/0.528, allocations: 20 kB / 0.7134 GB, free: 4.238 MB / 0.4948 GB Warning: Assuming fixed start value for the following 2 variables: G1.machine.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real G1.avr.vref:VARIABLE(unit = "1" fixed = true protected = true ) 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 (64): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * 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: 0 * Non-linear torn systems: 1 {8 13} Notification: Performance of prepare postOptimizeDAE: time 0.0004951/0.5285, allocations: 290.9 kB / 0.7137 GB, free: 3.945 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002216/0.5287, allocations: 86.97 kB / 0.7138 GB, free: 3.859 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006164/0.5349, allocations: 2.395 MB / 0.7161 GB, free: 1.434 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.5349, allocations: 7.984 kB / 0.7161 GB, free: 1.426 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/0.5349, allocations: 8 kB / 0.7162 GB, free: 1.418 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.5349, allocations: 7.938 kB / 0.7162 GB, free: 1.41 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007526/0.5425, allocations: 3.678 MB / 0.7198 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/0.5425, allocations: 8.016 kB / 0.7198 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000517/0.543, allocations: 83.89 kB / 0.7198 GB, free: 13.54 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003123/0.5462, allocations: 1.079 MB / 0.7209 GB, free: 12.46 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.344e-05/0.5462, allocations: 16 kB / 0.7209 GB, free: 12.44 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007424/0.5537, allocations: 4.276 MB / 0.7251 GB, free: 8.035 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.5537, allocations: 0 / 0.7251 GB, free: 8.035 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006838/0.5605, allocations: 3.088 MB / 0.7281 GB, free: 4.898 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002345/0.5608, allocations: 183.9 kB / 0.7283 GB, free: 4.699 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001275/0.5609, allocations: 16 kB / 0.7283 GB, free: 4.684 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007915/0.5617, allocations: 83.92 kB / 0.7284 GB, free: 4.602 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002726/0.562, allocations: 124.3 kB / 0.7285 GB, free: 4.48 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.107e-05/0.562, allocations: 16 kB / 0.7285 GB, free: 4.465 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006164/0.5627, allocations: 0.5264 MB / 0.729 GB, free: 3.945 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.4e-07/0.5627, allocations: 0 / 0.729 GB, free: 3.945 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00121/0.5639, allocations: 495.2 kB / 0.7295 GB, free: 3.461 MB / 0.5105 GB 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.vf1,G1.machine.delta,G1.machine.w,G1.machine.e1q,G1.machine.e1d,G1.machine.e2q,G1.machine.e2d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * 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: 1 {(9,48.1%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000235/0.5641, allocations: 148.6 kB / 0.7296 GB, free: 3.305 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006952/0.5711, allocations: 3.158 MB / 0.7327 GB, free: 40 kB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.5711, allocations: 2.156 kB / 0.7327 GB, free: 40 kB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002631/0.5737, allocations: 1.264 MB / 0.734 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000393/0.5741, allocations: 61.27 kB / 0.734 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003136/0.5773, allocations: 2.128 MB / 0.7361 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004417/0.5777, allocations: 0.9983 MB / 0.7371 GB, free: 11.49 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003282/0.5781, allocations: 66.39 kB / 0.7371 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001836/0.5783, allocations: 47.42 kB / 0.7372 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of SimCode: time 3e-07/0.5783, allocations: 0 / 0.7372 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of Templates: time 0.02434/0.6026, allocations: 18.57 MB / 0.7553 GB, free: 8.887 MB / 0.5417 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)