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.00103/0.00103, allocations: 198.5 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.198/1.198, allocations: 227.2 MB / 245 MB, free: 7.551 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000816/0.000816, allocations: 96.03 kB / 297.3 MB, free: 6.18 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002702/0.0002702, allocations: 4 kB / 357.9 MB, free: 9.523 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.217/0.2173, allocations: 51.47 MB / 409.4 MB, free: 26.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1003/0.3177, allocations: 90 MB / 499.4 MB, free: 0.6172 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002371/0.318, allocations: 87.95 kB / 499.5 MB, free: 0.5312 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3171/0.635, allocations: 56.21 MB / 0.5427 GB, free: 67.63 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.6351, allocations: 0 / 0.5427 GB, free: 67.63 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001069/0.6352, allocations: 47.94 kB / 0.5427 GB, free: 67.59 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.003466/0.6387, allocations: 2.03 MB / 0.5447 GB, free: 65.5 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.6387, allocations: 8.031 kB / 0.5447 GB, free: 65.49 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007904/0.6395, allocations: 293.3 kB / 0.545 GB, free: 65.2 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001995/0.6415, allocations: 1.332 MB / 0.5463 GB, free: 63.82 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.8e-05/0.6416, allocations: 127.5 kB / 0.5464 GB, free: 63.7 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002023/0.6418, allocations: 176 kB / 0.5466 GB, free: 63.53 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003042/0.6449, allocations: 2.475 MB / 0.549 GB, free: 60.98 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.914e-05/0.6449, allocations: 0 / 0.549 GB, free: 60.98 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001492/0.6451, allocations: 72 kB / 0.5491 GB, free: 60.91 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.316e-05/0.6451, allocations: 99.58 kB / 0.5492 GB, free: 60.81 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002472/0.6476, allocations: 1.947 MB / 0.5511 GB, free: 58.86 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00854/0.6562, allocations: 7.462 MB / 0.5584 GB, free: 51.16 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001148/0.6574, allocations: 1.271 MB / 0.5596 GB, free: 49.75 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002401/0.6576, allocations: 125.5 kB / 0.5597 GB, free: 49.61 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.066e-05/0.6576, allocations: 39 kB / 0.5597 GB, free: 49.56 MB / 378.7 MB Notification: Performance of pre-optimization done (n=52): time 2.685e-06/0.6577, allocations: 0 / 0.5597 GB, free: 49.56 MB / 378.7 MB Notification: Performance of matching and sorting (n=53): time 0.003263/0.6609, allocations: 2.285 MB / 0.562 GB, free: 47.2 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.37e-05/0.661, allocations: 81.55 kB / 0.5621 GB, free: 47.11 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001384/0.6624, allocations: 1.353 MB / 0.5634 GB, free: 45.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.66e-05/0.6624, allocations: 33.7 kB / 0.5634 GB, free: 45.71 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000437/0.6629, allocations: 0.9791 MB / 0.5644 GB, free: 44.71 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001207/0.663, allocations: 197.3 kB / 0.5646 GB, free: 44.52 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.687e-05/0.663, allocations: 24 kB / 0.5646 GB, free: 44.5 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.6632, allocations: 357.9 kB / 0.5649 GB, free: 44.14 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000585/0.6637, allocations: 454.3 kB / 0.5654 GB, free: 43.7 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007396/0.6645, allocations: 1.074 MB / 0.5664 GB, free: 42.3 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007089/0.6652, allocations: 0.6721 MB / 0.5671 GB, free: 41.63 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/0.6652, allocations: 8 kB / 0.5671 GB, free: 41.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=153) (initialization): time 0.002117/0.6674, allocations: 1.671 MB / 0.5687 GB, free: 39.95 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.385e-05/0.6674, allocations: 16 kB / 0.5687 GB, free: 39.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.849e-05/0.6674, allocations: 28.34 kB / 0.5687 GB, free: 39.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000362/0.6678, allocations: 136.8 kB / 0.5689 GB, free: 39.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007684/0.6686, allocations: 299.4 kB / 0.5692 GB, free: 39.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001631/0.6702, allocations: 2.186 MB / 0.5713 GB, free: 37.15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008989/0.6711, allocations: 91.58 kB / 0.5714 GB, free: 37.06 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.808e-05/0.6712, allocations: 71.98 kB / 0.5714 GB, free: 36.99 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.0008987/0.6721, allocations: 0.704 MB / 0.5721 GB, free: 36.28 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001808/0.6723, allocations: 134.5 kB / 0.5723 GB, free: 36.14 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001167/0.6735, allocations: 0.8568 MB / 0.5731 GB, free: 35.28 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.6735, allocations: 4 kB / 0.5731 GB, free: 35.27 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.6735, allocations: 4 kB / 0.5731 GB, free: 35.27 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.6735, allocations: 0 / 0.5731 GB, free: 35.27 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003108/0.6766, allocations: 2.534 MB / 0.5756 GB, free: 32.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.828e-06/0.6766, allocations: 0 / 0.5756 GB, free: 32.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003419/0.677, allocations: 99.88 kB / 0.5757 GB, free: 32.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002828/0.6773, allocations: 116.9 kB / 0.5758 GB, free: 32.42 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.299e-05/0.6773, allocations: 15.98 kB / 0.5758 GB, free: 32.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001466/0.6788, allocations: 2.127 MB / 0.5779 GB, free: 30.14 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.6788, allocations: 4.031 kB / 0.5779 GB, free: 30.14 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001508/0.6803, allocations: 1.488 MB / 0.5793 GB, free: 28.55 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004355/0.6808, allocations: 283.5 kB / 0.5796 GB, free: 28.25 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001291/0.6809, allocations: 19.98 kB / 0.5796 GB, free: 28.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005566/0.6815, allocations: 59.98 kB / 0.5797 GB, free: 28.17 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.475e-05/0.6816, allocations: 43.89 kB / 0.5797 GB, free: 28.13 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.715e-05/0.6816, allocations: 20 kB / 0.5797 GB, free: 28.11 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001093/0.6827, allocations: 1.036 MB / 0.5808 GB, free: 27.07 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6827, allocations: 0 / 0.5808 GB, free: 27.07 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001178/0.6839, allocations: 367.9 kB / 0.5811 GB, free: 26.71 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.0002465/0.6842, allocations: 173 kB / 0.5813 GB, free: 26.54 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001382/0.6856, allocations: 1.169 MB / 0.5824 GB, free: 25.36 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.6856, allocations: 0 / 0.5824 GB, free: 25.36 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006158/0.6862, allocations: 0.5151 MB / 0.5829 GB, free: 24.84 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001146/0.6874, allocations: 368.7 kB / 0.5833 GB, free: 24.48 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003734/0.6911, allocations: 3.762 MB / 0.5869 GB, free: 20.65 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009094/0.692, allocations: 1.741 MB / 0.5886 GB, free: 18.87 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0007754/0.6928, allocations: 327.3 kB / 0.589 GB, free: 18.55 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001739/0.693, allocations: 91.44 kB / 0.589 GB, free: 18.46 MB / 378.7 MB Notification: Performance of SimCode: time 5.61e-07/0.693, allocations: 0 / 0.589 GB, free: 18.46 MB / 378.7 MB Notification: Performance of Templates: time 0.02492/0.7179, allocations: 18.09 MB / 0.6067 GB, free: 0.5352 MB / 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/jenkins/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