Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_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_release_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.008678/0.008678, allocations: 171.5 kB / 15.12 MB, free: 5.559 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.446/1.446, allocations: 223.2 MB / 239 MB, free: 1.742 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.0008783/0.0008782, allocations: 97.2 kB / 290.2 MB, free: 13.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4653/0.4653, allocations: 78.59 MB / 419.9 MB, free: 44.17 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000377/0.0003771, allocations: 12 kB / 499.8 MB, free: 2.91 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3689/0.3693, allocations: 69.34 MB / 0.5558 GB, free: 38.75 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.Tutorial.Example_1.Example_1): time 0.004115/0.3734, allocations: 4.549 MB / 0.5602 GB, free: 38.42 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0027/0.3762, allocations: 1.706 MB / 0.5619 GB, free: 37.33 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004004/0.3766, allocations: 7.031 kB / 0.5619 GB, free: 37.33 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003108/0.3769, allocations: 119.3 kB / 0.562 GB, free: 37.28 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/Electrical/Branches/PSAT/TwoWindingTransformer.mo:44:3-44:83:writable] Warning: In relation transformer.m <> 1.0, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeBindings: time 0.001252/0.3782, allocations: 0.5643 MB / 0.5626 GB, free: 36.9 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008027/0.379, allocations: 390.1 kB / 0.5629 GB, free: 36.71 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007933/0.3798, allocations: 0.7344 MB / 0.5636 GB, free: 36.29 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002933/0.3801, allocations: 192.5 kB / 0.5638 GB, free: 36.2 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004162/0.3805, allocations: 407.7 kB / 0.5642 GB, free: 36.02 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005734/0.3811, allocations: 0.505 MB / 0.5647 GB, free: 35.81 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001025/0.3812, allocations: 49.53 kB / 0.5648 GB, free: 35.81 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003387/0.3816, allocations: 160 kB / 0.5649 GB, free: 35.77 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001518/0.3817, allocations: 177.2 kB / 0.5651 GB, free: 35.68 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001353/0.3819, allocations: 177 kB / 0.5652 GB, free: 35.56 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008393/0.3827, allocations: 1.058 MB / 0.5663 GB, free: 35.27 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.3827, allocations: 0 / 0.5663 GB, free: 35.27 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3827, allocations: 0 / 0.5663 GB, free: 35.27 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.006e-05/0.3827, allocations: 1.062 kB / 0.5663 GB, free: 35.27 MB / 426.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.004901/0.3876, allocations: 1.713 MB / 0.568 GB, free: 34.44 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.3877, allocations: 15 kB / 0.568 GB, free: 34.43 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003/0.3907, allocations: 0.5256 MB / 0.5685 GB, free: 34.33 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008266/0.3915, allocations: 0.6495 MB / 0.5691 GB, free: 33.87 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001448/0.3917, allocations: 151.9 kB / 0.5693 GB, free: 33.75 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001064/0.3918, allocations: 62.53 kB / 0.5693 GB, free: 33.73 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00137/0.3932, allocations: 0.8223 MB / 0.5701 GB, free: 33.4 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.3932, allocations: 2.625 kB / 0.5701 GB, free: 33.4 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.529e-05/0.3933, allocations: 18.94 kB / 0.5701 GB, free: 33.38 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.249e-05/0.3933, allocations: 13.59 kB / 0.5702 GB, free: 33.38 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001243/0.3945, allocations: 0.7319 MB / 0.5709 GB, free: 33.13 MB / 426.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.004253/0.3988, allocations: 3.048 MB / 0.5738 GB, free: 31.32 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01301/0.4118, allocations: 3.917 MB / 0.5777 GB, free: 30.65 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001564/0.412, allocations: 6.469 kB / 0.5777 GB, free: 30.65 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.4121, allocations: 53.48 kB / 0.5777 GB, free: 30.59 MB / 426.7 MB Notification: Performance of pre-optimization done (n=64): time 2.274e-06/0.4121, allocations: 0 / 0.5777 GB, free: 30.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=64): time 0.01144/0.4235, allocations: 3.901 MB / 0.5815 GB, free: 29.51 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.283e-05/0.4236, allocations: 83.02 kB / 0.5816 GB, free: 29.41 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009575/0.4246, allocations: 0.7808 MB / 0.5824 GB, free: 29.06 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001034/0.4247, allocations: 37.23 kB / 0.5824 GB, free: 29.02 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001855/0.4249, allocations: 379.1 kB / 0.5828 GB, free: 28.72 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001816/0.4251, allocations: 233.7 kB / 0.583 GB, free: 28.54 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.192e-05/0.4251, allocations: 18.97 kB / 0.583 GB, free: 28.52 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.959e-05/0.4252, allocations: 340.6 kB / 0.5833 GB, free: 28.2 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009891/0.4262, allocations: 0.5841 MB / 0.5839 GB, free: 27.98 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001028/0.4272, allocations: 0.6943 MB / 0.5846 GB, free: 27.66 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001052/0.4283, allocations: 0.6275 MB / 0.5852 GB, free: 27.38 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.778e-06/0.4283, allocations: 0 / 0.5852 GB, free: 27.38 MB / 426.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.007497/0.4358, allocations: 2.874 MB / 0.588 GB, free: 26.55 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001469/0.436, allocations: 0.7127 MB / 0.5887 GB, free: 25.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.436, allocations: 3.094 kB / 0.5887 GB, free: 25.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004894/0.4409, allocations: 1.26 MB / 0.5899 GB, free: 25.56 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001072/0.442, allocations: 172.6 kB / 0.5901 GB, free: 25.55 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01128/0.4533, allocations: 5.61 MB / 0.5956 GB, free: 22.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001456/0.4548, allocations: 139.3 kB / 0.5957 GB, free: 22.62 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.243e-05/0.4549, allocations: 34.28 kB / 0.5957 GB, free: 22.62 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.4549, allocations: 3.125 kB / 0.5958 GB, free: 22.62 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007698/0.4626, allocations: 2.737 MB / 0.5984 GB, free: 21.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.4627, allocations: 2.5 kB / 0.5984 GB, free: 21.86 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00462/0.4673, allocations: 1.266 MB / 0.5997 GB, free: 21.62 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009806/0.4683, allocations: 169.5 kB / 0.5998 GB, free: 21.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01147/0.4798, allocations: 5.597 MB / 0.6053 GB, free: 18.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00131/0.4811, allocations: 119.7 kB / 0.6054 GB, free: 18.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.919e-05/0.4812, allocations: 34.14 kB / 0.6054 GB, free: 18.69 MB / 426.7 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.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 (103): * Single equations (assignments): 100 * 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.0004766/0.4817, allocations: 309.5 kB / 0.6057 GB, free: 18.42 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001715/0.4819, allocations: 90.81 kB / 0.6058 GB, free: 18.37 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006827/0.4887, allocations: 2.392 MB / 0.6082 GB, free: 17.72 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.218e-05/0.4887, allocations: 7.188 kB / 0.6082 GB, free: 17.72 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/0.4888, allocations: 4.625 kB / 0.6082 GB, free: 17.72 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.596e-05/0.4888, allocations: 7.141 kB / 0.6082 GB, free: 17.71 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008513/0.4973, allocations: 3.671 MB / 0.6118 GB, free: 15.72 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.4973, allocations: 4 kB / 0.6118 GB, free: 15.72 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005289/0.4979, allocations: 83.09 kB / 0.6118 GB, free: 15.65 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003335/0.5012, allocations: 1.091 MB / 0.6129 GB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.465e-05/0.5013, allocations: 12.75 kB / 0.6129 GB, free: 14.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007475/0.5088, allocations: 4.316 MB / 0.6171 GB, free: 10.65 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.5088, allocations: 0 / 0.6171 GB, free: 10.65 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006653/0.5154, allocations: 3.083 MB / 0.6201 GB, free: 7.527 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003223/0.5158, allocations: 191.8 kB / 0.6203 GB, free: 7.32 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001249/0.5159, allocations: 12 kB / 0.6203 GB, free: 7.309 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007671/0.5167, allocations: 79.94 kB / 0.6204 GB, free: 7.23 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000282/0.517, allocations: 132.3 kB / 0.6205 GB, free: 7.102 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.89e-05/0.5171, allocations: 19.95 kB / 0.6206 GB, free: 7.082 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005513/0.5176, allocations: 0.5264 MB / 0.6211 GB, free: 6.562 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5176, allocations: 0 / 0.6211 GB, free: 6.562 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001485/0.5191, allocations: 0.5267 MB / 0.6216 GB, free: 6.035 MB / 426.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.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.0002199/0.5193, allocations: 129.9 kB / 0.6217 GB, free: 5.902 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007532/0.5269, allocations: 3.551 MB / 0.6252 GB, free: 2.246 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/0.5269, allocations: 0 / 0.6252 GB, free: 2.246 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002717/0.5296, allocations: 1.267 MB / 0.6264 GB, free: 0.9219 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006072/0.5303, allocations: 57.28 kB / 0.6265 GB, free: 0.8672 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003268/0.5335, allocations: 2.142 MB / 0.6286 GB, free: 14.69 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005472/0.5341, allocations: 0.9952 MB / 0.6295 GB, free: 13.67 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.000491/0.5346, allocations: 89.38 kB / 0.6296 GB, free: 13.58 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001985/0.5348, allocations: 47.42 kB / 0.6297 GB, free: 13.54 MB / 442.7 MB Notification: Performance of SimCode: time 7.02e-07/0.5348, allocations: 0 / 0.6297 GB, free: 13.54 MB / 442.7 MB Notification: Performance of Templates: time 0.02813/0.563, allocations: 19.24 MB / 0.6485 GB, free: 10.32 MB / 458.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_1.Example_1.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_1.Example_1.sim & ./OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_1.Example_1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.Tutorial.Example_1.Example_1.pipe 2>&1)