Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) 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(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench") translateModel(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 195.5 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.42/1.42, allocations: 205.1 MB / 222 MB, free: 5 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001127/0.001127, allocations: 55.92 kB / 278.1 MB, free: 13 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1935/0.1946, allocations: 46.62 MB / 324.7 MB, free: 1.836 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench): time 0.0263/0.2209, allocations: 28.98 MB / 353.7 MB, free: 7.098 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0151/0.2361, allocations: 7.353 MB / 361 MB, free: 15.72 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006227/0.2424, allocations: 211.2 kB / 361.2 MB, free: 15.52 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02572/0.2682, allocations: 12.52 MB / 373.7 MB, free: 2.953 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01219/0.2804, allocations: 2.742 MB / 376.5 MB, free: 204 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006141/0.2866, allocations: 1.766 MB / 378.2 MB, free: 14.43 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.02169/0.3083, allocations: 18.47 MB / 396.7 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06022/0.3685, allocations: 37.36 MB / 434.1 MB, free: 6.316 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01348/0.382, allocations: 9.006 MB / 443.1 MB, free: 13.29 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01531/0.3974, allocations: 11.12 MB / 454.2 MB, free: 2.129 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006574/0.404, allocations: 2.098 MB / 456.3 MB, free: 32 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3245/0.7285, allocations: 2.336 MB / 458.6 MB, free: 49.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007803/0.7364, allocations: 4.861 MB / 463.5 MB, free: 49.32 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0151/0.7515, allocations: 10.29 MB / 473.8 MB, free: 47.76 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02719/0.7788, allocations: 38.89 MB / 0.5007 GB, free: 27.45 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.426e-06/0.7788, allocations: 0 / 0.5007 GB, free: 27.45 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.7788, allocations: 0 / 0.5007 GB, free: 27.45 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.001005/0.7798, allocations: 0 / 0.5007 GB, free: 27.45 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5161 * Number of variables: 5161 Notification: Performance of Generate backend data structure: time 0.05947/0.8393, allocations: 22.98 MB / 0.5231 GB, free: 9.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.8394, allocations: 9.344 kB / 0.5231 GB, free: 9.082 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0635/0.9029, allocations: 12.28 MB / 0.5351 GB, free: 12.89 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02344/0.9263, allocations: 10.54 MB / 0.5454 GB, free: 2.816 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001393/0.9278, allocations: 1.398 MB / 0.5468 GB, free: 1.43 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006581/0.9344, allocations: 1.829 MB / 0.5486 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07615/1.011, allocations: 30.89 MB / 0.5787 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008126/1.011, allocations: 25.14 kB / 0.5787 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006229/1.018, allocations: 0.7593 MB / 0.5795 GB, free: 15.95 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001169/1.019, allocations: 0.9879 MB / 0.5804 GB, free: 14.96 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06178/1.081, allocations: 27.91 MB / 0.6077 GB, free: 3.039 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3293/1.41, allocations: 94.38 MB / 0.6999 GB, free: 45.79 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03037/1.44, allocations: 53.41 MB / 0.752 GB, free: 3.492 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009257/1.45, allocations: 5.935 MB / 0.7578 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02521/1.475, allocations: 16.86 MB / 0.7743 GB, free: 12.51 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.18e-05/1.475, allocations: 85.23 kB / 0.7744 GB, free: 12.42 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=439): time 5.36e-06/1.475, allocations: 0 / 0.7744 GB, free: 12.42 MB / 0.4982 GB Notification: Performance of matching and sorting (n=439): time 0.03093/1.506, allocations: 13.42 MB / 0.7875 GB, free: 14.99 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001/1.506, allocations: 128.5 kB / 0.7876 GB, free: 14.85 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01026/1.516, allocations: 7.485 MB / 0.7949 GB, free: 7.371 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0003897/1.517, allocations: 97.7 kB / 0.795 GB, free: 7.27 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.1716/1.688, allocations: 8.506 MB / 0.8033 GB, free: 195.6 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.002015/1.69, allocations: 1.595 MB / 0.8049 GB, free: 194.6 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0044/1.695, allocations: 2.283 MB / 0.8071 GB, free: 194.4 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 4.014e-05/1.695, allocations: 302 kB / 0.8074 GB, free: 194.1 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007193/1.702, allocations: 4.786 MB / 0.8121 GB, free: 194.1 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01049/1.713, allocations: 10.49 MB / 0.8223 GB, free: 186.2 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01775/1.73, allocations: 16.15 MB / 0.8381 GB, free: 173.7 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001872/1.731, allocations: 56.66 kB / 0.8381 GB, free: 173.7 MB / 0.5138 GB Notification: Performance of matching and sorting (n=1411) (initialization): time 0.02595/1.757, allocations: 16.17 MB / 0.8539 GB, free: 167.2 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001232/1.757, allocations: 93.06 kB / 0.854 GB, free: 167.2 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002743/1.757, allocations: 201.7 kB / 0.8542 GB, free: 167.2 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005073/1.762, allocations: 1.7 MB / 0.8559 GB, free: 166 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007656/1.77, allocations: 2.497 MB / 0.8583 GB, free: 163.9 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01235/1.782, allocations: 10.78 MB / 0.8688 GB, free: 154.4 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008728/1.791, allocations: 1.55 MB / 0.8703 GB, free: 152.9 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001903/1.793, allocations: 0.6012 MB / 0.8709 GB, free: 152.3 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 898 * 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 (1318): * Single equations (assignments): 1309 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(6,80,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01343/1.806, allocations: 7.405 MB / 0.8782 GB, free: 146.1 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00126/1.808, allocations: 0.6287 MB / 0.8788 GB, free: 145.5 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01149/1.819, allocations: 8.258 MB / 0.8868 GB, free: 138.6 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007872/1.827, allocations: 6.642 MB / 0.8933 GB, free: 132.8 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.661e-05/1.827, allocations: 12 kB / 0.8933 GB, free: 132.8 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.175e-05/1.827, allocations: 21.19 kB / 0.8934 GB, free: 132.8 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03234/1.859, allocations: 21.02 MB / 0.9139 GB, free: 113.9 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.53e-05/1.859, allocations: 7.984 kB / 0.9139 GB, free: 113.9 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002868/1.862, allocations: 0.7645 MB / 0.9146 GB, free: 113.2 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004664/1.867, allocations: 1.446 MB / 0.916 GB, free: 111.7 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003208/1.867, allocations: 96.84 kB / 0.9161 GB, free: 111.6 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01116/1.878, allocations: 10.42 MB / 0.9263 GB, free: 101.1 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/1.879, allocations: 4 kB / 0.9263 GB, free: 101.1 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01455/1.893, allocations: 11.99 MB / 0.938 GB, free: 89.03 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002933/1.896, allocations: 1.328 MB / 0.9393 GB, free: 87.68 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001218/1.897, allocations: 76 kB / 0.9394 GB, free: 87.6 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002884/1.9, allocations: 311.6 kB / 0.9397 GB, free: 87.3 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006521/1.901, allocations: 299.8 kB / 0.94 GB, free: 87 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002632/1.901, allocations: 128 kB / 0.9401 GB, free: 86.88 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.007545/1.909, allocations: 4.922 MB / 0.9449 GB, free: 81.97 MB / 0.5138 GB Notification: Performance of sort global known variables: time 5.11e-07/1.909, allocations: 3.938 kB / 0.9449 GB, free: 81.97 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.01226/1.921, allocations: 4.183 MB / 0.949 GB, free: 77.77 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (source.plug_p.reference.gamma) * 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 (387): * Single equations (assignments): 378 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(6,80,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001077/1.922, allocations: 275.5 kB / 0.9493 GB, free: 77.51 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01486/1.937, allocations: 11.12 MB / 0.9601 GB, free: 66.4 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/1.937, allocations: 0 / 0.9601 GB, free: 66.4 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.005311/1.942, allocations: 4.03 MB / 0.964 GB, free: 62.36 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007602/1.95, allocations: 1.45 MB / 0.9655 GB, free: 60.91 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2614/2.211, allocations: 37.59 MB / 1.002 GB, free: 168 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01861/2.23, allocations: 11.61 MB / 1.014 GB, free: 166.7 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.0108/2.241, allocations: 3.978 MB / 1.017 GB, free: 166.3 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001949/2.243, allocations: 0.5009 MB / 1.018 GB, free: 166.3 MB / 0.5138 GB Notification: Performance of SimCode: time 1.082e-06/2.243, allocations: 3.094 kB / 1.018 GB, free: 166.3 MB / 0.5138 GB Notification: Performance of Templates: time 0.1588/2.402, allocations: 96.26 MB / 1.112 GB, free: 80.74 MB / 0.5138 GB make -j1 -f Modelica_3.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.makefile (rm -f Modelica_3.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_3.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.sim & ./Modelica_3.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe 2>&1)