Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.0008134/0.0008134, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.0009395/0.0009395, allocations: 168.7 kB / 15.95 MB, free: 200 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.456/1.456, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.000449/0.000449, allocations: 10.81 kB / 278.9 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2578/0.2583, allocations: 47.59 MB / 326.5 MB, free: 1.395 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench): time 0.02398/0.2823, allocations: 25.52 MB / 352 MB, free: 9.918 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01721/0.2996, allocations: 6.82 MB / 358.8 MB, free: 3.078 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006387/0.306, allocations: 207.3 kB / 359 MB, free: 2.875 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006686/0.3127, allocations: 1.417 MB / 360.4 MB, free: 1.449 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01107/0.3238, allocations: 2.554 MB / 363 MB, free: 14.88 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005802/0.3296, allocations: 1.396 MB / 364.4 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.03376/0.3634, allocations: 23.93 MB / 388.3 MB, free: 5.477 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.07644/0.4399, allocations: 35.8 MB / 424.1 MB, free: 1.547 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01406/0.454, allocations: 7.051 MB / 431.2 MB, free: 10.47 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01496/0.469, allocations: 8.199 MB / 439.4 MB, free: 2.238 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004867/0.4739, allocations: 1.176 MB / 440.5 MB, free: 1.066 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008196/0.4821, allocations: 1.406 MB / 441.9 MB, free: 15.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00746/0.4896, allocations: 3.453 MB / 445.4 MB, free: 12.2 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008152/0.4978, allocations: 3.712 MB / 449.1 MB, free: 8.469 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4312/0.929, allocations: 33.71 MB / 482.8 MB, free: 38.38 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.929, allocations: 0 / 482.8 MB, free: 38.38 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.9291, allocations: 0 / 482.8 MB, free: 38.38 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.001231/0.9303, allocations: 0 / 482.8 MB, free: 38.38 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.05127/0.9816, allocations: 18.98 MB / 0.49 GB, free: 29.3 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.9816, allocations: 11.41 kB / 0.4901 GB, free: 29.3 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06213/1.044, allocations: 12.33 MB / 0.5021 GB, free: 23.37 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.022/1.066, allocations: 10.46 MB / 0.5123 GB, free: 17.19 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001568/1.067, allocations: 1.397 MB / 0.5137 GB, free: 16.4 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008973/1.076, allocations: 1.822 MB / 0.5155 GB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08543/1.162, allocations: 30.74 MB / 0.5455 GB, free: 7.52 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006083/1.162, allocations: 19.81 kB / 0.5455 GB, free: 7.5 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00741/1.17, allocations: 0.7639 MB / 0.5462 GB, free: 6.754 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00108/1.171, allocations: 0.9898 MB / 0.5472 GB, free: 5.766 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07372/1.245, allocations: 27.75 MB / 0.5743 GB, free: 9.996 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5082/1.753, allocations: 94.55 MB / 0.6666 GB, free: 104.1 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03348/1.786, allocations: 53.34 MB / 0.7187 GB, free: 52.68 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01103/1.798, allocations: 5.903 MB / 0.7245 GB, free: 49.74 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03031/1.828, allocations: 16.87 MB / 0.741 GB, free: 34.15 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.391e-05/1.828, allocations: 89.88 kB / 0.7411 GB, free: 34.05 MB / 462.1 MB Notification: Performance of pre-optimization done (n=439): time 7.143e-06/1.828, allocations: 0 / 0.7411 GB, free: 34.05 MB / 462.1 MB Notification: Performance of matching and sorting (n=439): time 0.03162/1.86, allocations: 13.12 MB / 0.7539 GB, free: 20.89 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.46e-05/1.86, allocations: 124.5 kB / 0.754 GB, free: 20.75 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01763/1.877, allocations: 7.43 MB / 0.7612 GB, free: 13.33 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001028/1.879, allocations: 89.7 kB / 0.7613 GB, free: 13.24 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00602/1.885, allocations: 8.521 MB / 0.7697 GB, free: 4.68 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002434/1.887, allocations: 1.594 MB / 0.7712 GB, free: 3.098 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00199/1.889, allocations: 220 kB / 0.7714 GB, free: 2.883 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.001412/1.89, allocations: 0.7647 MB / 0.7722 GB, free: 2.113 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009285/1.9, allocations: 4.737 MB / 0.7768 GB, free: 13.37 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01613/1.916, allocations: 10.45 MB / 0.787 GB, free: 172 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01485/1.931, allocations: 7.314 MB / 0.7941 GB, free: 8.809 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002491/1.931, allocations: 56 kB / 0.7942 GB, free: 8.754 MB / 494.1 MB Notification: Performance of matching and sorting (n=1411) (initialization): time 0.281/2.212, allocations: 16.08 MB / 0.8099 GB, free: 160 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001462/2.212, allocations: 87.44 kB / 0.81 GB, free: 160 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003935/2.213, allocations: 197.1 kB / 0.8102 GB, free: 160 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004969/2.218, allocations: 1.725 MB / 0.8118 GB, free: 159.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008664/2.226, allocations: 2.502 MB / 0.8143 GB, free: 159.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01272/2.239, allocations: 10.78 MB / 0.8248 GB, free: 156.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00863/2.248, allocations: 1.553 MB / 0.8263 GB, free: 155.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001726/2.25, allocations: 0.6024 MB / 0.8269 GB, free: 155.5 MB / 494.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,77.8%) 80} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01257/2.262, allocations: 7.398 MB / 0.8341 GB, free: 152.3 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001162/2.263, allocations: 0.6223 MB / 0.8348 GB, free: 151.9 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01137/2.275, allocations: 8.248 MB / 0.8428 GB, free: 148.6 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007599/2.282, allocations: 6.615 MB / 0.8493 GB, free: 142.9 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.967e-05/2.282, allocations: 12 kB / 0.8493 GB, free: 142.8 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.614e-05/2.282, allocations: 22.59 kB / 0.8493 GB, free: 142.8 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03627/2.319, allocations: 20.98 MB / 0.8698 GB, free: 124.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-05/2.319, allocations: 0 / 0.8698 GB, free: 124.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002757/2.321, allocations: 0.7645 MB / 0.8705 GB, free: 123.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004246/2.326, allocations: 1.451 MB / 0.8719 GB, free: 122.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002897/2.326, allocations: 99.28 kB / 0.872 GB, free: 122.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01082/2.337, allocations: 10.43 MB / 0.8822 GB, free: 111.6 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/2.337, allocations: 0 / 0.8822 GB, free: 111.6 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01405/2.351, allocations: 11.93 MB / 0.8939 GB, free: 99.61 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003064/2.354, allocations: 1.378 MB / 0.8952 GB, free: 98.2 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007869/2.355, allocations: 79.98 kB / 0.8953 GB, free: 98.12 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002236/2.357, allocations: 303.7 kB / 0.8956 GB, free: 97.82 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005375/2.358, allocations: 303.8 kB / 0.8959 GB, free: 97.53 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002382/2.358, allocations: 124 kB / 0.896 GB, free: 97.41 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.007259/2.365, allocations: 4.871 MB / 0.9007 GB, free: 92.55 MB / 494.1 MB Notification: Performance of sort global known variables: time 8.62e-07/2.365, allocations: 0 / 0.9007 GB, free: 92.55 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01408/2.379, allocations: 4.181 MB / 0.9048 GB, free: 88.36 MB / 494.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,75.0%) 80} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001221/2.38, allocations: 285.1 kB / 0.9051 GB, free: 88.09 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01579/2.396, allocations: 11.07 MB / 0.9159 GB, free: 77.04 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.626e-06/2.396, allocations: 0 / 0.9159 GB, free: 77.04 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005874/2.402, allocations: 4.022 MB / 0.9198 GB, free: 73 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009206/2.411, allocations: 1.465 MB / 0.9213 GB, free: 71.54 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06459/2.476, allocations: 35.97 MB / 0.9564 GB, free: 35.57 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0166/2.493, allocations: 11.62 MB / 0.9677 GB, free: 23.91 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.01049/2.503, allocations: 3.983 MB / 0.9716 GB, free: 19.91 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001587/2.505, allocations: 0.4966 MB / 0.9721 GB, free: 19.42 MB / 494.1 MB Notification: Performance of SimCode: time 1.112e-06/2.505, allocations: 3.938 kB / 0.9721 GB, free: 19.41 MB / 494.1 MB Notification: Performance of Templates: time 0.3983/2.903, allocations: 93.2 MB / 1.063 GB, free: 90.68 MB / 494.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.sim & ./Modelica_3.2.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe 2>&1)