Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001419/0.001419, allocations: 177.7 kB / 8.698 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.544/1.544, allocations: 205.3 MB / 214.4 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007517/0.0007517, allocations: 96.09 kB / 262.5 MB, free: 1.672 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.194e-05/1.204e-05, allocations: 4 kB / 315.5 MB, free: 22.71 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07589/0.07592, allocations: 47.59 MB / 363.1 MB, free: 7.066 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2817/0.3577, allocations: 87.99 MB / 451.1 MB, free: 7.688 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002236/0.3579, allocations: 79.08 kB / 451.1 MB, free: 7.648 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1317/0.4897, allocations: 55.48 MB / 0.4948 GB, free: 5.762 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.173e-06/0.4897, allocations: 0 / 0.4948 GB, free: 5.762 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001083/0.4898, allocations: 51.94 kB / 0.4948 GB, free: 5.711 MB / 378.7 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.002989/0.4928, allocations: 1.824 MB / 0.4966 GB, free: 3.836 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.445e-05/0.4928, allocations: 8.031 kB / 0.4966 GB, free: 3.828 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005811/0.4934, allocations: 257.3 kB / 0.4968 GB, free: 3.574 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001855/0.4953, allocations: 1.298 MB / 0.4981 GB, free: 2.234 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.934e-05/0.4954, allocations: 56 kB / 0.4982 GB, free: 2.18 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002081/0.4956, allocations: 104 kB / 0.4983 GB, free: 2.078 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002522/0.4981, allocations: 1.78 MB / 0.5 GB, free: 304 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003133/0.5012, allocations: 2.179 MB / 0.5021 GB, free: 14.04 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.873e-05/0.5013, allocations: 4 kB / 0.5021 GB, free: 14.04 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001349/0.5014, allocations: 0 / 0.5021 GB, free: 14.04 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.313e-05/0.5015, allocations: 95.58 kB / 0.5022 GB, free: 13.95 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008846/0.5104, allocations: 6.539 MB / 0.5086 GB, free: 7.277 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00177/0.5122, allocations: 2.074 MB / 0.5106 GB, free: 4.977 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009323/0.5131, allocations: 0.7621 MB / 0.5114 GB, free: 4.211 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002513/0.5134, allocations: 129.8 kB / 0.5115 GB, free: 4.066 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.5134, allocations: 43.34 kB / 0.5115 GB, free: 4.012 MB / 394.7 MB Notification: Performance of pre-optimization done (n=82): time 3.106e-06/0.5134, allocations: 0 / 0.5115 GB, free: 4.012 MB / 394.7 MB Notification: Performance of matching and sorting (n=88): time 0.004147/0.5176, allocations: 2.563 MB / 0.514 GB, free: 1.395 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.322e-05/0.5176, allocations: 89.89 kB / 0.5141 GB, free: 1.289 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001057/0.5187, allocations: 0.856 MB / 0.515 GB, free: 436 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.174e-05/0.5188, allocations: 25.7 kB / 0.515 GB, free: 404 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004725/0.5192, allocations: 0.8178 MB / 0.5158 GB, free: 15.56 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001894/0.5194, allocations: 287.6 kB / 0.5161 GB, free: 15.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.955e-05/0.5195, allocations: 0 / 0.5161 GB, free: 15.27 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.5196, allocations: 342 kB / 0.5164 GB, free: 14.93 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005468/0.5202, allocations: 446.4 kB / 0.5168 GB, free: 14.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006508/0.5208, allocations: 0.5993 MB / 0.5174 GB, free: 13.83 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006952/0.5215, allocations: 0.5586 MB / 0.5179 GB, free: 13.27 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.5215, allocations: 3.938 kB / 0.518 GB, free: 13.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.001744/0.5233, allocations: 1.261 MB / 0.5192 GB, free: 12 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.5233, allocations: 8 kB / 0.5192 GB, free: 11.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.5233, allocations: 4.531 kB / 0.5192 GB, free: 11.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003328/0.5237, allocations: 120.8 kB / 0.5193 GB, free: 11.87 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009347/0.5246, allocations: 235.7 kB / 0.5195 GB, free: 11.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001872/0.5265, allocations: 2.025 MB / 0.5215 GB, free: 9.492 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005782/0.5271, allocations: 19.98 kB / 0.5215 GB, free: 9.473 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.221e-05/0.5272, allocations: 39.98 kB / 0.5216 GB, free: 9.434 MB / 410.7 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.0001612/0.5273, allocations: 128.8 kB / 0.5217 GB, free: 9.301 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001712/0.5275, allocations: 102.8 kB / 0.5218 GB, free: 9.199 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001667/0.5292, allocations: 1.117 MB / 0.5229 GB, free: 8.074 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.5292, allocations: 8 kB / 0.5229 GB, free: 8.066 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.5292, allocations: 4 kB / 0.5229 GB, free: 8.062 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.816e-06/0.5292, allocations: 7.984 kB / 0.5229 GB, free: 8.055 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004325/0.5336, allocations: 2.816 MB / 0.5256 GB, free: 5.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.5336, allocations: 0 / 0.5256 GB, free: 5.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007327/0.5343, allocations: 179.8 kB / 0.5258 GB, free: 5.004 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002967/0.5346, allocations: 108.8 kB / 0.5259 GB, free: 4.895 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.948e-05/0.5347, allocations: 0 / 0.5259 GB, free: 4.895 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002409/0.5371, allocations: 3.266 MB / 0.5291 GB, free: 1.406 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.5371, allocations: 4 kB / 0.5291 GB, free: 1.402 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1894/0.7266, allocations: 1.784 MB / 0.5309 GB, free: 100.6 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007738/0.7274, allocations: 293 kB / 0.5311 GB, free: 100.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001632/0.7275, allocations: 3.562 kB / 0.5311 GB, free: 100.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006333/0.7282, allocations: 44.12 kB / 0.5312 GB, free: 100.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002004/0.7284, allocations: 61.44 kB / 0.5312 GB, free: 100.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.746e-05/0.7285, allocations: 21.77 kB / 0.5313 GB, free: 100.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001128/0.7296, allocations: 0.6606 MB / 0.5319 GB, free: 100.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-07/0.7296, allocations: 1.125 kB / 0.5319 GB, free: 100.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001377/0.731, allocations: 322.2 kB / 0.5322 GB, free: 100.4 MB / 410.7 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.0003694/0.7314, allocations: 170 kB / 0.5324 GB, free: 100.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002261/0.7336, allocations: 1.175 MB / 0.5335 GB, free: 100.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.7337, allocations: 0 / 0.5335 GB, free: 100.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001077/0.7347, allocations: 0.6536 MB / 0.5342 GB, free: 100.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001379/0.7361, allocations: 219.2 kB / 0.5344 GB, free: 100.1 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005647/0.7418, allocations: 2.592 MB / 0.5369 GB, free: 99.51 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001542/0.7434, allocations: 1.766 MB / 0.5386 GB, free: 98.79 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001079/0.7445, allocations: 273.2 kB / 0.5389 GB, free: 98.77 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002587/0.7447, allocations: 81.19 kB / 0.539 GB, free: 98.77 MB / 410.7 MB Notification: Performance of SimCode: time 9.72e-07/0.7447, allocations: 0 / 0.539 GB, free: 98.77 MB / 410.7 MB Notification: Performance of Templates: time 0.02543/0.7702, allocations: 13.9 MB / 0.5525 GB, free: 98.25 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat","/var/lib/jenkins/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_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches