Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_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_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_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00156/0.00156, allocations: 208.3 kB / 18.11 MB, free: 3.617 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.424/1.424, allocations: 226.5 MB / 245.4 MB, free: 6.473 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007435/0.0007435, allocations: 102.6 kB / 297.5 MB, free: 6.688 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002307/0.0002308, allocations: 4 kB / 358.1 MB, free: 10.07 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.2198, allocations: 51.29 MB / 409.4 MB, free: 27.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09993/0.3198, allocations: 89.97 MB / 499.3 MB, free: 1.535 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002534/0.3201, allocations: 87.95 kB / 499.4 MB, free: 1.449 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2842/0.6043, allocations: 56.17 MB / 0.5426 GB, free: 69.32 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.6043, allocations: 0 / 0.5426 GB, free: 69.32 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001359/0.6045, allocations: 47.94 kB / 0.5426 GB, free: 69.27 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.003976/0.6085, allocations: 2.022 MB / 0.5446 GB, free: 67.19 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.6085, allocations: 12.03 kB / 0.5446 GB, free: 67.18 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00102/0.6095, allocations: 290.2 kB / 0.5449 GB, free: 66.89 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002082/0.6116, allocations: 1.356 MB / 0.5462 GB, free: 65.49 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.293e-05/0.6117, allocations: 131.9 kB / 0.5463 GB, free: 65.36 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003169/0.6121, allocations: 180.3 kB / 0.5465 GB, free: 65.19 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003647/0.6157, allocations: 2.483 MB / 0.5489 GB, free: 62.63 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.926e-05/0.6158, allocations: 192 / 0.5489 GB, free: 62.63 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002021/0.616, allocations: 83.92 kB / 0.549 GB, free: 62.55 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.545e-05/0.6161, allocations: 99.52 kB / 0.5491 GB, free: 62.45 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002933/0.619, allocations: 1.931 MB / 0.551 GB, free: 60.52 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01005/0.6291, allocations: 7.477 MB / 0.5583 GB, free: 52.8 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001125/0.6302, allocations: 1.271 MB / 0.5595 GB, free: 51.39 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00059/0.6308, allocations: 487.9 kB / 0.56 GB, free: 50.91 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002321/0.6311, allocations: 133.4 kB / 0.5601 GB, free: 50.76 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.6311, allocations: 39 kB / 0.5602 GB, free: 50.71 MB / 378.7 MB Notification: Performance of pre-optimization done (n=52): time 2.985e-06/0.6311, allocations: 0 / 0.5602 GB, free: 50.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=53): time 0.003627/0.6348, allocations: 2.277 MB / 0.5624 GB, free: 48.36 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.154e-05/0.6348, allocations: 81.55 kB / 0.5625 GB, free: 48.26 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001882/0.6367, allocations: 1.505 MB / 0.5639 GB, free: 46.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.492e-05/0.6368, allocations: 37.7 kB / 0.564 GB, free: 46.71 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004295/0.6372, allocations: 0.9752 MB / 0.5649 GB, free: 45.72 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001008/0.6373, allocations: 193.4 kB / 0.5651 GB, free: 45.53 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.546e-05/0.6374, allocations: 28 kB / 0.5651 GB, free: 45.5 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.721e-05/0.6374, allocations: 353.9 kB / 0.5655 GB, free: 45.15 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005862/0.638, allocations: 446.3 kB / 0.5659 GB, free: 44.71 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007765/0.6388, allocations: 1.082 MB / 0.567 GB, free: 43.32 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001462/0.6403, allocations: 1.61 MB / 0.5685 GB, free: 41.4 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.166e-05/0.6403, allocations: 8 kB / 0.5685 GB, free: 41.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=153) (initialization): time 0.002256/0.6426, allocations: 1.679 MB / 0.5702 GB, free: 39.7 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.6426, allocations: 12.41 kB / 0.5702 GB, free: 39.69 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.843e-05/0.6427, allocations: 31.98 kB / 0.5702 GB, free: 39.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000374/0.643, allocations: 136.8 kB / 0.5704 GB, free: 39.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007996/0.6438, allocations: 287.5 kB / 0.5706 GB, free: 39.24 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001659/0.6455, allocations: 2.158 MB / 0.5727 GB, free: 36.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009611/0.6465, allocations: 87.67 kB / 0.5728 GB, free: 36.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.487e-05/0.6466, allocations: 71.94 kB / 0.5729 GB, free: 36.79 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.000937/0.6475, allocations: 0.7118 MB / 0.5736 GB, free: 36.07 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002394/0.6478, allocations: 130.4 kB / 0.5737 GB, free: 35.94 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001282/0.6491, allocations: 0.8452 MB / 0.5745 GB, free: 35.08 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.6491, allocations: 4 kB / 0.5745 GB, free: 35.08 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.6491, allocations: 3.938 kB / 0.5745 GB, free: 35.07 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.78e-06/0.6491, allocations: 7.984 kB / 0.5745 GB, free: 35.07 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003509/0.6526, allocations: 2.522 MB / 0.577 GB, free: 32.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.6527, allocations: 4 kB / 0.577 GB, free: 32.44 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003396/0.653, allocations: 95.89 kB / 0.5771 GB, free: 32.35 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002868/0.6533, allocations: 113 kB / 0.5772 GB, free: 32.23 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.461e-05/0.6533, allocations: 19.98 kB / 0.5772 GB, free: 32.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00152/0.6549, allocations: 2.088 MB / 0.5793 GB, free: 29.99 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.6549, allocations: 8.062 kB / 0.5793 GB, free: 29.98 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001588/0.6565, allocations: 1.343 MB / 0.5806 GB, free: 28.58 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004601/0.657, allocations: 287.4 kB / 0.5809 GB, free: 28.28 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002052/0.6572, allocations: 12 kB / 0.5809 GB, free: 28.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006256/0.6578, allocations: 56.03 kB / 0.5809 GB, free: 28.21 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.161e-05/0.6579, allocations: 47.86 kB / 0.581 GB, free: 28.17 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.063e-05/0.6579, allocations: 24 kB / 0.581 GB, free: 28.14 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001268/0.6592, allocations: 1.032 MB / 0.582 GB, free: 27.11 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6592, allocations: 3.938 kB / 0.582 GB, free: 27.11 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001296/0.6605, allocations: 363.9 kB / 0.5824 GB, free: 26.75 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.0002692/0.6608, allocations: 189.7 kB / 0.5825 GB, free: 26.56 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001535/0.6624, allocations: 1.15 MB / 0.5837 GB, free: 25.41 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.6624, allocations: 7.953 kB / 0.5837 GB, free: 25.4 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006315/0.663, allocations: 0.523 MB / 0.5842 GB, free: 24.87 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001899/0.6649, allocations: 365.8 kB / 0.5845 GB, free: 24.52 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004525/0.6695, allocations: 3.756 MB / 0.5882 GB, free: 20.69 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001243/0.6707, allocations: 1.702 MB / 0.5899 GB, free: 18.95 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0009154/0.6716, allocations: 331.3 kB / 0.5902 GB, free: 18.62 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002389/0.6719, allocations: 83.44 kB / 0.5903 GB, free: 18.54 MB / 378.7 MB Notification: Performance of SimCode: time 1.042e-06/0.6719, allocations: 0 / 0.5903 GB, free: 18.54 MB / 378.7 MB Notification: Performance of Templates: time 0.02822/0.7001, allocations: 18.38 MB / 0.6082 GB, free: 344 kB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches