Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformer.l2sigma.inductor.1..i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") translateModel(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformer.l2sigma.inductor.1..i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001407/0.001407, allocations: 177.8 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.957/1.957, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001096/0.001095, allocations: 96.42 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.483e-05/2.48e-05, allocations: 4 kB / 314.8 MB, free: 9.145 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3271/0.3272, allocations: 47.55 MB / 362.3 MB, free: 45.85 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1427/0.4699, allocations: 87.76 MB / 450.1 MB, free: 14.56 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003483/0.4703, allocations: 83.95 kB / 450.2 MB, free: 14.48 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.2804/0.7508, allocations: 55.47 MB / 0.4938 GB, free: 6.711 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.7509, allocations: 0 / 0.4938 GB, free: 6.711 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.0002616/0.7511, allocations: 51.94 kB / 0.4939 GB, free: 6.66 MB / 395.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 474 * Number of variables: 474 Notification: Performance of Generate backend data structure: time 0.00711/0.7583, allocations: 1.83 MB / 0.4956 GB, free: 4.781 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/0.7583, allocations: 8.031 kB / 0.4956 GB, free: 4.773 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001654/0.76, allocations: 257.3 kB / 0.4959 GB, free: 4.52 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004646/0.7647, allocations: 1.302 MB / 0.4972 GB, free: 3.176 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001529/0.7649, allocations: 56 kB / 0.4972 GB, free: 3.121 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007316/0.7656, allocations: 100 kB / 0.4973 GB, free: 3.023 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005868/0.7715, allocations: 1.78 MB / 0.4991 GB, free: 1.242 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2746/1.046, allocations: 2.176 MB / 0.5012 GB, free: 90.79 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.233e-05/1.046, allocations: 0 / 0.5012 GB, free: 90.79 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003082/1.047, allocations: 2.938 kB / 0.5012 GB, free: 90.79 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001717/1.047, allocations: 93.03 kB / 0.5013 GB, free: 90.78 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02029/1.067, allocations: 6.529 MB / 0.5076 GB, free: 89.75 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002926/1.07, allocations: 2.078 MB / 0.5097 GB, free: 88.59 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001662/1.072, allocations: 0.7628 MB / 0.5104 GB, free: 88.57 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004033/1.072, allocations: 137.2 kB / 0.5105 GB, free: 88.47 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.053e-05/1.072, allocations: 41.91 kB / 0.5106 GB, free: 88.43 MB / 395.1 MB Notification: Performance of pre-optimization done (n=82): time 4.308e-06/1.072, allocations: 1.438 kB / 0.5106 GB, free: 88.43 MB / 395.1 MB Notification: Performance of matching and sorting (n=88): time 0.007759/1.08, allocations: 2.564 MB / 0.5131 GB, free: 87.86 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.634e-05/1.08, allocations: 91.06 kB / 0.5132 GB, free: 87.77 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001909/1.082, allocations: 0.8553 MB / 0.514 GB, free: 87.65 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002017/1.082, allocations: 28.05 kB / 0.514 GB, free: 87.62 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000565/1.083, allocations: 0.8164 MB / 0.5148 GB, free: 87.25 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003322/1.083, allocations: 288.5 kB / 0.5151 GB, free: 87.09 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.803e-05/1.083, allocations: 3.219 kB / 0.5151 GB, free: 87.09 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001004/1.083, allocations: 346.8 kB / 0.5154 GB, free: 86.78 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009747/1.084, allocations: 443.5 kB / 0.5159 GB, free: 86.78 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001045/1.086, allocations: 0.6039 MB / 0.5165 GB, free: 86.61 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001206/1.087, allocations: 0.548 MB / 0.517 GB, free: 86.6 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.713e-06/1.087, allocations: 2.125 kB / 0.517 GB, free: 86.6 MB / 395.1 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.003013/1.09, allocations: 1.196 MB / 0.5182 GB, free: 86.52 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.212e-05/1.09, allocations: 10.84 kB / 0.5182 GB, free: 86.52 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.061e-05/1.09, allocations: 4 kB / 0.5182 GB, free: 86.52 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006197/1.091, allocations: 119.6 kB / 0.5183 GB, free: 86.51 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002108/1.093, allocations: 236.2 kB / 0.5185 GB, free: 86.51 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002885/1.096, allocations: 2.041 MB / 0.5205 GB, free: 85.23 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002648/1.098, allocations: 18.89 kB / 0.5205 GB, free: 85.23 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002822/1.099, allocations: 34.56 kB / 0.5206 GB, free: 85.23 MB / 395.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003092/1.099, allocations: 124.4 kB / 0.5207 GB, free: 85.12 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004525/1.099, allocations: 108.7 kB / 0.5208 GB, free: 85.07 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002871/1.102, allocations: 1.118 MB / 0.5219 GB, free: 84.99 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.02e-05/1.102, allocations: 8.125 kB / 0.5219 GB, free: 84.99 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/1.102, allocations: 3.75 kB / 0.5219 GB, free: 84.99 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.375e-05/1.102, allocations: 6.188 kB / 0.5219 GB, free: 84.99 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007298/1.11, allocations: 2.811 MB / 0.5246 GB, free: 84.64 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.416e-06/1.11, allocations: 0 / 0.5246 GB, free: 84.64 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00153/1.111, allocations: 183.4 kB / 0.5248 GB, free: 84.64 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005212/1.112, allocations: 104.7 kB / 0.5249 GB, free: 84.63 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.848e-05/1.112, allocations: 6.094 kB / 0.5249 GB, free: 84.63 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003085/1.115, allocations: 3.265 MB / 0.5281 GB, free: 82.09 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/1.115, allocations: 2.344 kB / 0.5281 GB, free: 82.09 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003587/1.119, allocations: 1.794 MB / 0.5299 GB, free: 81.29 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009484/1.12, allocations: 291.5 kB / 0.5301 GB, free: 81.09 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002088/1.12, allocations: 0 / 0.5301 GB, free: 81.09 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001132/1.121, allocations: 40.34 kB / 0.5302 GB, free: 81.09 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002336/1.121, allocations: 61.94 kB / 0.5302 GB, free: 81.08 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.702e-05/1.122, allocations: 32.44 kB / 0.5303 GB, free: 81.07 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.001308/1.123, allocations: 0.6589 MB / 0.5309 GB, free: 80.78 MB / 395.1 MB Notification: Performance of sort global known variables: time 9.31e-07/1.123, allocations: 0 / 0.5309 GB, free: 80.78 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.001961/1.125, allocations: 317.2 kB / 0.5312 GB, free: 80.78 MB / 395.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (load.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004556/1.125, allocations: 169.9 kB / 0.5314 GB, free: 80.69 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.002477/1.128, allocations: 1.174 MB / 0.5325 GB, free: 80.21 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/1.128, allocations: 0 / 0.5325 GB, free: 80.21 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001395/1.129, allocations: 0.6574 MB / 0.5332 GB, free: 79.92 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002076/1.131, allocations: 225 kB / 0.5334 GB, free: 79.87 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006828/1.138, allocations: 2.582 MB / 0.5359 GB, free: 78.86 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001746/1.14, allocations: 1.719 MB / 0.5376 GB, free: 77.95 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006525/1.141, allocations: 78.22 kB / 0.5377 GB, free: 77.94 MB / 395.1 MB Notification: Performance of SimCode: time 1.452e-06/1.141, allocations: 0 / 0.5377 GB, free: 77.94 MB / 395.1 MB Notification: Performance of Templates: time 0.05491/1.196, allocations: 33.73 MB / 0.5706 GB, free: 67.16 MB / 395.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches