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.002489/0.002489, allocations: 182.3 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.023/2.023, allocations: 205.2 MB / 219.4 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001076/0.001076, allocations: 82.72 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.386e-05/3.396e-05, allocations: 4 kB / 321.5 MB, free: 17.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1239, allocations: 47.57 MB / 369.1 MB, free: 2.203 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4223/0.5463, allocations: 88.41 MB / 457.5 MB, free: 4.828 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002927/0.5466, allocations: 85.89 kB / 457.6 MB, free: 4.781 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.219/0.7657, allocations: 56.14 MB / 0.5017 GB, free: 14.18 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.278e-06/0.7657, allocations: 4 kB / 0.5017 GB, free: 14.18 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001643/0.7659, allocations: 47.94 kB / 0.5017 GB, free: 14.13 MB / 394.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.005683/0.7716, allocations: 1.828 MB / 0.5035 GB, free: 12.25 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.153e-05/0.7717, allocations: 8.031 kB / 0.5035 GB, free: 12.24 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001155/0.7728, allocations: 253.3 kB / 0.5038 GB, free: 11.99 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003661/0.7765, allocations: 1.302 MB / 0.505 GB, free: 10.64 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001494/0.7767, allocations: 127.5 kB / 0.5052 GB, free: 10.52 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000448/0.7771, allocations: 176 kB / 0.5053 GB, free: 10.35 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006201/0.7833, allocations: 2.448 MB / 0.5077 GB, free: 7.828 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.933e-05/0.7834, allocations: 0 / 0.5077 GB, free: 7.828 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002826/0.7837, allocations: 72 kB / 0.5078 GB, free: 7.758 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001651/0.7839, allocations: 95.58 kB / 0.5079 GB, free: 7.664 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005221/0.7891, allocations: 1.892 MB / 0.5097 GB, free: 5.77 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01765/0.8068, allocations: 6.92 MB / 0.5165 GB, free: 14.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003292/0.8102, allocations: 2.109 MB / 0.5185 GB, free: 12.36 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002168/0.8124, allocations: 0.8604 MB / 0.5194 GB, free: 11.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004027/0.8128, allocations: 129.8 kB / 0.5195 GB, free: 11.36 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.099e-05/0.8128, allocations: 43.34 kB / 0.5196 GB, free: 11.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=82): time 3.827e-06/0.8129, allocations: 0 / 0.5196 GB, free: 11.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=88): time 0.007769/0.8206, allocations: 2.708 MB / 0.5222 GB, free: 8.539 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.998e-05/0.8207, allocations: 85.89 kB / 0.5223 GB, free: 8.438 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002428/0.8232, allocations: 1.082 MB / 0.5233 GB, free: 7.336 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001142/0.8233, allocations: 45.64 kB / 0.5234 GB, free: 7.285 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007124/0.824, allocations: 0.7892 MB / 0.5242 GB, free: 6.484 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003448/0.8244, allocations: 295.7 kB / 0.5244 GB, free: 6.191 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.928e-05/0.8245, allocations: 19.94 kB / 0.5245 GB, free: 6.172 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001798/0.8247, allocations: 354.8 kB / 0.5248 GB, free: 5.816 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001135/0.8258, allocations: 457.8 kB / 0.5252 GB, free: 5.371 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001318/0.8272, allocations: 0.6221 MB / 0.5258 GB, free: 4.684 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001406/0.8286, allocations: 0.5642 MB / 0.5264 GB, free: 4.121 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.8286, allocations: 0 / 0.5264 GB, free: 4.121 MB / 410.7 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.003229/0.8318, allocations: 1.278 MB / 0.5276 GB, free: 2.832 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/0.8319, allocations: 4 kB / 0.5276 GB, free: 2.828 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.696e-05/0.8319, allocations: 8 kB / 0.5276 GB, free: 2.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006028/0.8325, allocations: 120.7 kB / 0.5278 GB, free: 2.699 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001905/0.8344, allocations: 231.7 kB / 0.528 GB, free: 2.473 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003221/0.8377, allocations: 2.104 MB / 0.53 GB, free: 240 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001282/0.839, allocations: 48 kB / 0.5301 GB, free: 192 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001134/0.8391, allocations: 39.98 kB / 0.5301 GB, free: 152 kB / 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.2661/1.105, allocations: 152.7 kB / 0.5303 GB, free: 98.27 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005445/1.106, allocations: 120.9 kB / 0.5304 GB, free: 98.27 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003185/1.109, allocations: 1.197 MB / 0.5315 GB, free: 98.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.519e-05/1.109, allocations: 8.094 kB / 0.5316 GB, free: 98.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/1.109, allocations: 2.094 kB / 0.5316 GB, free: 98.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.609e-05/1.109, allocations: 7.781 kB / 0.5316 GB, free: 98.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007883/1.117, allocations: 3.147 MB / 0.5346 GB, free: 97.85 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.764e-06/1.117, allocations: 0 / 0.5346 GB, free: 97.85 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001515/1.119, allocations: 182.4 kB / 0.5348 GB, free: 97.85 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005312/1.119, allocations: 110.4 kB / 0.5349 GB, free: 97.84 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.981e-05/1.119, allocations: 17.66 kB / 0.5349 GB, free: 97.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003378/1.123, allocations: 3.389 MB / 0.5382 GB, free: 95.21 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/1.123, allocations: 1.656 kB / 0.5382 GB, free: 95.21 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004186/1.127, allocations: 1.894 MB / 0.5401 GB, free: 95 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009222/1.128, allocations: 320.3 kB / 0.5404 GB, free: 94.91 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002405/1.128, allocations: 19.39 kB / 0.5404 GB, free: 94.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001123/1.129, allocations: 58.22 kB / 0.5405 GB, free: 94.9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002415/1.129, allocations: 63.66 kB / 0.5405 GB, free: 94.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.915e-05/1.13, allocations: 27.38 kB / 0.5406 GB, free: 94.9 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001823/1.131, allocations: 0.8438 MB / 0.5414 GB, free: 94.79 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.91e-07/1.131, allocations: 5.594 kB / 0.5414 GB, free: 94.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00169/1.133, allocations: 365 kB / 0.5417 GB, free: 94.79 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (81): * Single equations (assignments): 79 * 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.000417/1.134, allocations: 186 kB / 0.5419 GB, free: 94.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002852/1.136, allocations: 1.214 MB / 0.5431 GB, free: 94.57 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/1.136, allocations: 0.5625 kB / 0.5431 GB, free: 94.57 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001606/1.138, allocations: 0.6796 MB / 0.5438 GB, free: 94.45 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002518/1.141, allocations: 350.2 kB / 0.5441 GB, free: 94.44 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0071/1.148, allocations: 2.674 MB / 0.5467 GB, free: 93.83 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001848/1.15, allocations: 1.723 MB / 0.5484 GB, free: 93.11 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006531/1.15, allocations: 89.38 kB / 0.5485 GB, free: 93.11 MB / 410.7 MB Notification: Performance of SimCode: time 1.132e-06/1.15, allocations: 1.031 kB / 0.5485 GB, free: 93.11 MB / 410.7 MB Notification: Performance of Templates: time 0.05634/1.207, allocations: 35.77 MB / 0.5834 GB, free: 89.51 MB / 410.7 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