Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009709/0.0009708, allocations: 179.3 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 223.2 MB / 240.3 MB, free: 10.15 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 88.42 kB / 291.5 MB, free: 10.69 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002624/0.0002627, allocations: 7.938 kB / 351.1 MB, free: 15.09 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2512/0.2514, allocations: 50.41 MB / 401.5 MB, free: 32.55 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1121/0.3636, allocations: 89.18 MB / 490.7 MB, free: 7.246 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002393/0.3639, allocations: 91.45 kB / 490.8 MB, free: 7.16 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3347/0.6986, allocations: 56.17 MB / 0.5341 GB, free: 78.41 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.173e-06/0.6987, allocations: 0 / 0.5341 GB, free: 78.41 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001054/0.6988, allocations: 47.94 kB / 0.5342 GB, free: 78.36 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.00338/0.7022, allocations: 2.035 MB / 0.5362 GB, free: 76.28 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.7022, allocations: 8.031 kB / 0.5362 GB, free: 76.27 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005566/0.7028, allocations: 257.3 kB / 0.5364 GB, free: 76.02 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001983/0.7048, allocations: 1.318 MB / 0.5377 GB, free: 74.67 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.45e-05/0.7048, allocations: 134.9 kB / 0.5378 GB, free: 74.54 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002148/0.7051, allocations: 176 kB / 0.538 GB, free: 74.37 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002987/0.7081, allocations: 2.474 MB / 0.5404 GB, free: 71.84 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.963e-05/0.7081, allocations: 3.953 kB / 0.5404 GB, free: 71.83 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001538/0.7083, allocations: 79.2 kB / 0.5405 GB, free: 71.76 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.321e-05/0.7083, allocations: 103.5 kB / 0.5406 GB, free: 71.66 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002454/0.7108, allocations: 1.935 MB / 0.5425 GB, free: 69.72 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008206/0.719, allocations: 7.464 MB / 0.5498 GB, free: 62.05 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001088/0.7201, allocations: 1.267 MB / 0.551 GB, free: 60.65 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002521/0.7204, allocations: 133.6 kB / 0.5511 GB, free: 60.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.7204, allocations: 43 kB / 0.5512 GB, free: 60.45 MB / 378.7 MB Notification: Performance of pre-optimization done (n=52): time 2.424e-06/0.7205, allocations: 0 / 0.5512 GB, free: 60.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=53): time 0.003396/0.7239, allocations: 2.277 MB / 0.5534 GB, free: 58.09 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/0.7239, allocations: 85.55 kB / 0.5535 GB, free: 57.99 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001509/0.7254, allocations: 1.353 MB / 0.5548 GB, free: 56.63 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.782e-05/0.7255, allocations: 41.7 kB / 0.5548 GB, free: 56.59 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004577/0.7259, allocations: 0.9752 MB / 0.5558 GB, free: 55.6 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001032/0.726, allocations: 197.3 kB / 0.556 GB, free: 55.4 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.125e-05/0.7261, allocations: 24 kB / 0.556 GB, free: 55.38 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.56e-05/0.7262, allocations: 353.9 kB / 0.5563 GB, free: 55.03 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005341/0.7267, allocations: 454.3 kB / 0.5568 GB, free: 54.58 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008177/0.7275, allocations: 1.086 MB / 0.5578 GB, free: 53.19 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007268/0.7283, allocations: 0.6721 MB / 0.5585 GB, free: 52.52 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.663e-06/0.7283, allocations: 4 kB / 0.5585 GB, free: 52.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=153) (initialization): time 0.002048/0.7304, allocations: 1.675 MB / 0.5601 GB, free: 50.82 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/0.7304, allocations: 16 kB / 0.5601 GB, free: 50.81 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.848e-05/0.7304, allocations: 20 kB / 0.5602 GB, free: 50.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003537/0.7308, allocations: 145 kB / 0.5603 GB, free: 50.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007603/0.7315, allocations: 287.5 kB / 0.5606 GB, free: 50.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00173/0.7333, allocations: 2.183 MB / 0.5627 GB, free: 48.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008976/0.7342, allocations: 87.58 kB / 0.5628 GB, free: 47.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-05/0.7343, allocations: 68 kB / 0.5629 GB, free: 47.89 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.0008949/0.7352, allocations: 0.704 MB / 0.5635 GB, free: 47.18 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001677/0.7354, allocations: 126.5 kB / 0.5637 GB, free: 47.05 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001162/0.7365, allocations: 0.857 MB / 0.5645 GB, free: 46.18 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.7365, allocations: 7.938 kB / 0.5645 GB, free: 46.17 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.7366, allocations: 7.938 kB / 0.5645 GB, free: 46.16 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.7366, allocations: 0 / 0.5645 GB, free: 46.16 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003425/0.74, allocations: 2.534 MB / 0.567 GB, free: 43.53 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.74, allocations: 4 kB / 0.567 GB, free: 43.53 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004098/0.7404, allocations: 108.1 kB / 0.5671 GB, free: 43.42 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003588/0.7408, allocations: 108.8 kB / 0.5672 GB, free: 43.31 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.32e-05/0.7408, allocations: 15.98 kB / 0.5672 GB, free: 43.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001743/0.7426, allocations: 2.127 MB / 0.5693 GB, free: 41.04 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.7426, allocations: 4 kB / 0.5693 GB, free: 41.03 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001553/0.7442, allocations: 1.496 MB / 0.5708 GB, free: 39.44 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004838/0.7447, allocations: 287.4 kB / 0.571 GB, free: 39.14 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001835/0.7449, allocations: 19.98 kB / 0.5711 GB, free: 39.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008118/0.7457, allocations: 48.03 kB / 0.5711 GB, free: 39.07 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.7458, allocations: 59.78 kB / 0.5712 GB, free: 39.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.9e-05/0.7459, allocations: 20 kB / 0.5712 GB, free: 39 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001198/0.7471, allocations: 1.024 MB / 0.5722 GB, free: 37.97 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7471, allocations: 4 kB / 0.5722 GB, free: 37.96 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001661/0.7487, allocations: 364 kB / 0.5725 GB, free: 37.61 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.0003204/0.7491, allocations: 175.9 kB / 0.5727 GB, free: 37.43 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001757/0.7508, allocations: 1.172 MB / 0.5738 GB, free: 36.25 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.7508, allocations: 0 / 0.5738 GB, free: 36.25 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006322/0.7515, allocations: 0.5112 MB / 0.5743 GB, free: 35.72 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001384/0.7529, allocations: 365.8 kB / 0.5747 GB, free: 35.38 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005005/0.7579, allocations: 3.772 MB / 0.5784 GB, free: 31.54 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001058/0.759, allocations: 1.737 MB / 0.5801 GB, free: 29.76 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001422/0.7604, allocations: 331.3 kB / 0.5804 GB, free: 29.43 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002549/0.7607, allocations: 83.44 kB / 0.5805 GB, free: 29.35 MB / 378.7 MB Notification: Performance of SimCode: time 1.223e-06/0.7607, allocations: 4 kB / 0.5805 GB, free: 29.35 MB / 378.7 MB Notification: Performance of Templates: time 0.03184/0.7925, allocations: 18.09 MB / 0.5981 GB, free: 11.48 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.csv","../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches