Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009497/0.0009496, allocations: 203.1 kB / 18.07 MB, free: 3.648 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.246/1.246, allocations: 226.5 MB / 245.4 MB, free: 6.406 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007909/0.0007909, allocations: 104.3 kB / 297.4 MB, free: 6.637 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002063/0.0002064, allocations: 4 kB / 357.4 MB, free: 10.68 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1968/0.197, allocations: 51.28 MB / 408.7 MB, free: 27.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09887/0.2959, allocations: 89.96 MB / 498.6 MB, free: 1.578 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002205/0.2961, allocations: 87.95 kB / 498.7 MB, free: 1.492 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2972/0.5934, allocations: 56.18 MB / 0.5419 GB, free: 69.27 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.5934, allocations: 0 / 0.5419 GB, free: 69.27 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001077/0.5936, allocations: 47.94 kB / 0.5419 GB, free: 69.23 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.003565/0.5971, allocations: 2.022 MB / 0.5439 GB, free: 67.14 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.5972, allocations: 8.031 kB / 0.5439 GB, free: 67.14 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000959/0.5981, allocations: 290.2 kB / 0.5442 GB, free: 66.85 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00195/0.6001, allocations: 1.353 MB / 0.5455 GB, free: 65.46 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.637e-05/0.6002, allocations: 135.9 kB / 0.5456 GB, free: 65.32 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002401/0.6004, allocations: 176.2 kB / 0.5458 GB, free: 65.15 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003468/0.6039, allocations: 2.491 MB / 0.5482 GB, free: 62.59 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.703e-05/0.604, allocations: 192 / 0.5482 GB, free: 62.59 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000169/0.6042, allocations: 79.92 kB / 0.5483 GB, free: 62.51 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.027e-05/0.6042, allocations: 95.58 kB / 0.5484 GB, free: 62.42 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002857/0.6071, allocations: 1.935 MB / 0.5503 GB, free: 60.48 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009446/0.6166, allocations: 7.485 MB / 0.5576 GB, free: 52.75 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001169/0.6178, allocations: 1.26 MB / 0.5588 GB, free: 51.36 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006146/0.6184, allocations: 488 kB / 0.5593 GB, free: 50.88 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002454/0.6187, allocations: 125.5 kB / 0.5594 GB, free: 50.73 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.6187, allocations: 39 kB / 0.5595 GB, free: 50.69 MB / 378.7 MB Notification: Performance of pre-optimization done (n=52): time 3.216e-06/0.6187, allocations: 0 / 0.5595 GB, free: 50.69 MB / 378.7 MB Notification: Performance of matching and sorting (n=53): time 0.003832/0.6226, allocations: 2.277 MB / 0.5617 GB, free: 48.33 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/0.6226, allocations: 81.55 kB / 0.5618 GB, free: 48.23 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001769/0.6244, allocations: 1.505 MB / 0.5632 GB, free: 46.72 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.517e-05/0.6245, allocations: 37.7 kB / 0.5633 GB, free: 46.68 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004461/0.6249, allocations: 0.9752 MB / 0.5642 GB, free: 45.69 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/0.625, allocations: 197.4 kB / 0.5644 GB, free: 45.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.911e-05/0.6251, allocations: 24 kB / 0.5644 GB, free: 45.47 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.392e-05/0.6252, allocations: 357.9 kB / 0.5648 GB, free: 45.12 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006152/0.6258, allocations: 450.3 kB / 0.5652 GB, free: 44.68 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000809/0.6266, allocations: 1.078 MB / 0.5663 GB, free: 43.29 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001402/0.628, allocations: 1.606 MB / 0.5678 GB, free: 41.38 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.746e-06/0.628, allocations: 8 kB / 0.5678 GB, free: 41.37 MB / 378.7 MB Notification: Performance of matching and sorting (n=153) (initialization): time 0.002361/0.6304, allocations: 1.679 MB / 0.5695 GB, free: 39.68 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/0.6304, allocations: 16 kB / 0.5695 GB, free: 39.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.138e-05/0.6305, allocations: 20.28 kB / 0.5695 GB, free: 39.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003739/0.6308, allocations: 148.7 kB / 0.5696 GB, free: 39.49 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007759/0.6316, allocations: 287.5 kB / 0.5699 GB, free: 39.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001721/0.6334, allocations: 2.166 MB / 0.572 GB, free: 36.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00106/0.6344, allocations: 87.67 kB / 0.5721 GB, free: 36.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-05/0.6345, allocations: 68 kB / 0.5722 GB, free: 36.75 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 100 * 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 (145): * Single equations (assignments): 144 * 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.001063/0.6356, allocations: 0.7118 MB / 0.5729 GB, free: 36.03 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002158/0.6358, allocations: 130.4 kB / 0.573 GB, free: 35.9 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001285/0.6371, allocations: 0.8413 MB / 0.5738 GB, free: 35.05 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.6371, allocations: 4 kB / 0.5738 GB, free: 35.05 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.6372, allocations: 7.938 kB / 0.5738 GB, free: 35.04 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.6372, allocations: 3.984 kB / 0.5738 GB, free: 35.04 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003298/0.6405, allocations: 2.518 MB / 0.5763 GB, free: 32.42 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.6405, allocations: 4 kB / 0.5763 GB, free: 32.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003466/0.6408, allocations: 99.88 kB / 0.5764 GB, free: 32.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003023/0.6412, allocations: 117.1 kB / 0.5765 GB, free: 32.2 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.712e-05/0.6412, allocations: 16 kB / 0.5765 GB, free: 32.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001602/0.6428, allocations: 2.096 MB / 0.5786 GB, free: 29.95 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.6428, allocations: 0 / 0.5786 GB, free: 29.95 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001651/0.6445, allocations: 1.343 MB / 0.5799 GB, free: 28.55 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004652/0.645, allocations: 287.4 kB / 0.5802 GB, free: 28.25 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001457/0.6451, allocations: 16 kB / 0.5802 GB, free: 28.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000566/0.6457, allocations: 56.02 kB / 0.5802 GB, free: 28.18 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.6458, allocations: 47.81 kB / 0.5803 GB, free: 28.13 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-05/0.6459, allocations: 20 kB / 0.5803 GB, free: 28.11 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001313/0.6472, allocations: 1.036 MB / 0.5813 GB, free: 27.07 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6472, allocations: 4 kB / 0.5813 GB, free: 27.07 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001323/0.6485, allocations: 359.9 kB / 0.5817 GB, free: 26.72 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 1 (transformer.l2sigma.inductor[1].i) * 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 (46): * Single equations (assignments): 45 * 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 Backend phase and start with SimCode phase: time 0.00029/0.6488, allocations: 186.6 kB / 0.5818 GB, free: 26.53 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001657/0.6505, allocations: 1.158 MB / 0.583 GB, free: 25.37 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.6505, allocations: 3.953 kB / 0.583 GB, free: 25.37 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000665/0.6512, allocations: 0.5227 MB / 0.5835 GB, free: 24.83 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002/0.6532, allocations: 373.7 kB / 0.5838 GB, free: 24.47 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004515/0.6577, allocations: 3.745 MB / 0.5875 GB, free: 20.66 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001015/0.6588, allocations: 1.658 MB / 0.5891 GB, free: 18.96 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003906/0.6592, allocations: 95.42 kB / 0.5892 GB, free: 18.87 MB / 378.7 MB Notification: Performance of SimCode: time 9.02e-07/0.6592, allocations: 4 kB / 0.5892 GB, free: 18.87 MB / 378.7 MB Notification: Performance of Templates: time 0.03661/0.6958, allocations: 32.03 MB / 0.6205 GB, free: 2.922 MB / 394.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & ./Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.csv","../files/Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches