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.001019/0.001019, allocations: 170.9 kB / 16.07 MB, free: 5.57 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.411/1.411, allocations: 222.8 MB / 239.7 MB, free: 15.85 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000772/0.0007721, allocations: 93.78 kB / 290.4 MB, free: 4.641 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.612/0.612, allocations: 78.44 MB / 419.6 MB, free: 36.34 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005384/0.0005385, allocations: 15.94 kB / 499.1 MB, free: 8.086 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.1614, allocations: 68.75 MB / 0.5545 GB, free: 3.273 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.Tutorial.Example_1.Example_1): time 0.009129/0.1705, allocations: 5.51 MB / 0.5599 GB, free: 13.73 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.005212/0.1758, allocations: 1.805 MB / 0.5617 GB, free: 11.92 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007339/0.1766, allocations: 8 kB / 0.5617 GB, free: 11.91 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006476/0.1773, allocations: 127.2 kB / 0.5618 GB, free: 11.79 MB / 442.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.002586/0.1799, allocations: 0.5862 MB / 0.5624 GB, free: 11.2 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001718/0.1816, allocations: 474.6 kB / 0.5628 GB, free: 10.74 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001878/0.1835, allocations: 1.125 MB / 0.5639 GB, free: 9.613 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005415/0.1841, allocations: 214.7 kB / 0.5641 GB, free: 9.387 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008162/0.1849, allocations: 418 kB / 0.5645 GB, free: 8.977 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001017/0.1859, allocations: 0.521 MB / 0.565 GB, free: 8.453 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001763/0.1861, allocations: 52 kB / 0.5651 GB, free: 8.402 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006689/0.1868, allocations: 179.8 kB / 0.5652 GB, free: 8.227 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002612/0.1871, allocations: 187.1 kB / 0.5654 GB, free: 8.043 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000614/0.1878, allocations: 445.2 kB / 0.5659 GB, free: 7.605 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001706/0.1895, allocations: 1.083 MB / 0.5669 GB, free: 6.52 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1895, allocations: 0 / 0.5669 GB, free: 6.52 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.1895, allocations: 4 kB / 0.5669 GB, free: 6.516 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.435e-05/0.1895, allocations: 0 / 0.5669 GB, free: 6.516 MB / 442.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.009696/0.1993, allocations: 1.655 MB / 0.5685 GB, free: 4.809 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.376e-05/0.1993, allocations: 8.031 kB / 0.5685 GB, free: 4.801 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00664/0.206, allocations: 0.5227 MB / 0.569 GB, free: 4.277 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00182/0.2078, allocations: 0.6858 MB / 0.5697 GB, free: 3.547 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002774/0.2081, allocations: 150.4 kB / 0.5699 GB, free: 3.383 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002018/0.2084, allocations: 56 kB / 0.5699 GB, free: 3.328 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002707/0.2111, allocations: 0.7798 MB / 0.5707 GB, free: 2.535 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.361e-05/0.2111, allocations: 4 kB / 0.5707 GB, free: 2.531 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000111/0.2113, allocations: 23.94 kB / 0.5707 GB, free: 2.508 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.186e-05/0.2113, allocations: 12 kB / 0.5707 GB, free: 2.496 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002345/0.2136, allocations: 0.6961 MB / 0.5714 GB, free: 1.801 MB / 442.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.2349/0.4486, allocations: 2.887 MB / 0.5742 GB, free: 45.18 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01196/0.4605, allocations: 2.922 MB / 0.5771 GB, free: 44.96 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009542/0.4615, allocations: 499.3 kB / 0.5775 GB, free: 44.95 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.932e-05/0.4616, allocations: 11.77 kB / 0.5776 GB, free: 44.95 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.4617, allocations: 38.66 kB / 0.5776 GB, free: 44.91 MB / 442.7 MB Notification: Performance of pre-optimization done (n=64): time 3.897e-06/0.4617, allocations: 0 / 0.5776 GB, free: 44.91 MB / 442.7 MB Notification: Performance of matching and sorting (n=64): time 0.01043/0.4721, allocations: 3.296 MB / 0.5808 GB, free: 44.55 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.057e-05/0.4722, allocations: 89.58 kB / 0.5809 GB, free: 44.46 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009929/0.4732, allocations: 0.7887 MB / 0.5817 GB, free: 44.33 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.542e-05/0.4733, allocations: 39.27 kB / 0.5817 GB, free: 44.3 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002099/0.4735, allocations: 379.3 kB / 0.5821 GB, free: 44.2 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000171/0.4737, allocations: 237.3 kB / 0.5823 GB, free: 44.07 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001252/0.4738, allocations: 94.11 kB / 0.5824 GB, free: 44.05 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.008e-05/0.4739, allocations: 341.7 kB / 0.5827 GB, free: 43.75 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001017/0.4749, allocations: 0.5423 MB / 0.5832 GB, free: 43.75 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00113/0.476, allocations: 0.6653 MB / 0.5839 GB, free: 43.67 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01714/0.4932, allocations: 4.027 MB / 0.5878 GB, free: 43.47 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.123e-06/0.4932, allocations: 0 / 0.5878 GB, free: 43.47 MB / 442.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.007319/0.5006, allocations: 2.513 MB / 0.5903 GB, free: 43.27 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.274e-05/0.5007, allocations: 144.1 kB / 0.5904 GB, free: 43.12 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.5007, allocations: 3.688 kB / 0.5904 GB, free: 43.12 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004066/0.5047, allocations: 1.048 MB / 0.5914 GB, free: 43.03 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008785/0.5056, allocations: 167.1 kB / 0.5916 GB, free: 43.02 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008749/0.5144, allocations: 4.717 MB / 0.5962 GB, free: 40.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001309/0.5157, allocations: 124 kB / 0.5963 GB, free: 40.34 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-05/0.5158, allocations: 33.59 kB / 0.5964 GB, free: 40.34 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.669e-06/0.5158, allocations: 3.156 kB / 0.5964 GB, free: 40.34 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006248/0.5221, allocations: 2.383 MB / 0.5987 GB, free: 39.61 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.5221, allocations: 0 / 0.5987 GB, free: 39.61 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003705/0.5258, allocations: 1.054 MB / 0.5997 GB, free: 39.39 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007738/0.5266, allocations: 166.4 kB / 0.5999 GB, free: 39.38 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008463/0.5351, allocations: 4.709 MB / 0.6045 GB, free: 36.76 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001039/0.5362, allocations: 103.5 kB / 0.6046 GB, free: 36.71 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.48e-05/0.5363, allocations: 35.67 kB / 0.6046 GB, free: 36.71 MB / 442.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.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.0004652/0.5367, allocations: 304.6 kB / 0.6049 GB, free: 36.44 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001391/0.5369, allocations: 87.98 kB / 0.605 GB, free: 36.39 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005528/0.5424, allocations: 2.031 MB / 0.607 GB, free: 35.79 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.776e-06/0.5424, allocations: 13.77 kB / 0.607 GB, free: 35.78 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.5424, allocations: 12 kB / 0.607 GB, free: 35.78 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.405e-06/0.5425, allocations: 3.328 kB / 0.607 GB, free: 35.78 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006841/0.5493, allocations: 3.306 MB / 0.6102 GB, free: 34.39 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.5493, allocations: 1.344 kB / 0.6102 GB, free: 34.39 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005098/0.5499, allocations: 88.91 kB / 0.6103 GB, free: 34.38 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003027/0.5529, allocations: 0.9257 MB / 0.6112 GB, free: 34.2 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.49e-05/0.553, allocations: 14.44 kB / 0.6112 GB, free: 34.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00707/0.56, allocations: 3.805 MB / 0.6149 GB, free: 31.97 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.5601, allocations: 1.375 kB / 0.6149 GB, free: 31.97 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006938/0.567, allocations: 2.667 MB / 0.6175 GB, free: 31.01 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002345/0.5673, allocations: 180.2 kB / 0.6177 GB, free: 30.84 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001217/0.5674, allocations: 12.69 kB / 0.6177 GB, free: 30.84 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007752/0.5682, allocations: 62.59 kB / 0.6178 GB, free: 30.82 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003496/0.5685, allocations: 116.4 kB / 0.6179 GB, free: 30.81 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.131e-05/0.5686, allocations: 16.84 kB / 0.6179 GB, free: 30.81 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006514/0.5693, allocations: 0.5397 MB / 0.6184 GB, free: 30.56 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5693, allocations: 1.781 kB / 0.6184 GB, free: 30.56 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001409/0.5707, allocations: 0.5183 MB / 0.6189 GB, free: 30.48 MB / 442.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 (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.0002247/0.5709, allocations: 125.7 kB / 0.6191 GB, free: 30.38 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007569/0.5785, allocations: 3.247 MB / 0.6222 GB, free: 28.84 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.5785, allocations: 0 / 0.6222 GB, free: 28.84 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002732/0.5813, allocations: 1.126 MB / 0.6233 GB, free: 28.27 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007569/0.582, allocations: 72.67 kB / 0.6234 GB, free: 28.22 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003163/0.5852, allocations: 2.12 MB / 0.6255 GB, free: 26.91 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004465/0.5857, allocations: 0.9753 MB / 0.6264 GB, free: 26.2 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002549/0.5859, allocations: 60.72 kB / 0.6265 GB, free: 26.18 MB / 442.7 MB Notification: Performance of SimCode: time 6.32e-07/0.5859, allocations: 0 / 0.6265 GB, free: 26.18 MB / 442.7 MB Notification: Performance of Templates: time 0.02118/0.6071, allocations: 22.47 MB / 0.6484 GB, free: 10.21 MB / 442.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)