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.0008786/0.0008787, allocations: 179.1 kB / 17.04 MB, free: 5.113 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.183/1.183, allocations: 223.3 MB / 241 MB, free: 10.1 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.0007227/0.0007227, allocations: 106.4 kB / 292.2 MB, free: 10.7 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002215/0.0002216, allocations: 15.94 kB / 351.8 MB, free: 15.11 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2003/0.2006, allocations: 50.4 MB / 402.2 MB, free: 32.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.004405/0.205, allocations: 5.147 MB / 407.4 MB, free: 27.39 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003395/0.2084, allocations: 1.955 MB / 409.3 MB, free: 25.45 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009424/0.2094, allocations: 35.81 kB / 409.3 MB, free: 25.41 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009798/0.2104, allocations: 306.2 kB / 409.6 MB, free: 25.11 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001233/0.2117, allocations: 496.5 kB / 410.1 MB, free: 24.63 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003142/0.212, allocations: 131.9 kB / 410.3 MB, free: 24.5 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001359/0.2134, allocations: 2.268 MB / 412.5 MB, free: 22.22 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001202/0.2146, allocations: 1.411 MB / 413.9 MB, free: 20.77 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007789/0.2154, allocations: 0.7589 MB / 414.7 MB, free: 20.01 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008111/0.2162, allocations: 0.9649 MB / 415.7 MB, free: 19.04 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001573/0.2163, allocations: 124 kB / 415.8 MB, free: 18.92 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004041/0.2168, allocations: 175.9 kB / 416 MB, free: 18.75 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002952/0.2171, allocations: 0.5179 MB / 416.5 MB, free: 18.23 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002477/0.2173, allocations: 448.6 kB / 416.9 MB, free: 17.79 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00164/0.219, allocations: 3.085 MB / 420 MB, free: 14.69 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.219, allocations: 0 / 420 MB, free: 14.69 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.219, allocations: 0 / 420 MB, free: 14.69 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.164e-05/0.219, allocations: 4 kB / 420 MB, free: 14.69 MB / 298.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.002812/0.2218, allocations: 2.038 MB / 422 MB, free: 12.59 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.2219, allocations: 12.03 kB / 422 MB, free: 12.58 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005437/0.2224, allocations: 253.3 kB / 422.3 MB, free: 12.33 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00148/0.2239, allocations: 1.27 MB / 423.6 MB, free: 11.02 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.373e-05/0.224, allocations: 139.5 kB / 423.7 MB, free: 10.88 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001905/0.2242, allocations: 171.9 kB / 423.9 MB, free: 10.71 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003152/0.2273, allocations: 2.535 MB / 426.4 MB, free: 8.156 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.788e-05/0.2274, allocations: 0 / 426.4 MB, free: 8.156 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001478/0.2275, allocations: 75.98 kB / 426.5 MB, free: 8.082 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.083e-05/0.2276, allocations: 99.58 kB / 426.6 MB, free: 7.984 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002588/0.2302, allocations: 2.11 MB / 428.7 MB, free: 5.871 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008096/0.2383, allocations: 7.504 MB / 436.2 MB, free: 14.12 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001379/0.2397, allocations: 1.26 MB / 437.4 MB, free: 12.72 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007118/0.2404, allocations: 485.6 kB / 437.9 MB, free: 12.25 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001996/0.2407, allocations: 117.5 kB / 438 MB, free: 12.11 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.2407, allocations: 39 kB / 438.1 MB, free: 12.07 MB / 314.7 MB Notification: Performance of pre-optimization done (n=52): time 2.134e-06/0.2407, allocations: 0 / 438.1 MB, free: 12.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=53): time 0.003772/0.2445, allocations: 2.292 MB / 440.4 MB, free: 9.691 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.033e-05/0.2446, allocations: 81.55 kB / 440.4 MB, free: 9.594 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001801/0.2464, allocations: 1.5 MB / 441.9 MB, free: 8.086 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.15e-05/0.2464, allocations: 33.7 kB / 442 MB, free: 8.047 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006904/0.2471, allocations: 0.9711 MB / 443 MB, free: 7.062 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001502/0.2473, allocations: 197.3 kB / 443.1 MB, free: 6.867 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.818e-05/0.2473, allocations: 28 kB / 443.2 MB, free: 6.84 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.2475, allocations: 357.9 kB / 443.5 MB, free: 6.484 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006631/0.2481, allocations: 458.3 kB / 444 MB, free: 6.035 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001004/0.2492, allocations: 1.094 MB / 445.1 MB, free: 4.629 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000899/0.2501, allocations: 0.6837 MB / 445.7 MB, free: 3.949 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.806e-06/0.2501, allocations: 8 kB / 445.8 MB, free: 3.941 MB / 314.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002338/0.2524, allocations: 1.679 MB / 447.4 MB, free: 2.25 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.024e-05/0.2525, allocations: 19.94 kB / 447.5 MB, free: 2.23 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.135e-05/0.2525, allocations: 24 kB / 447.5 MB, free: 2.207 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007388/0.2532, allocations: 180.8 kB / 447.7 MB, free: 2.027 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008252/0.2541, allocations: 291.5 kB / 447.9 MB, free: 1.742 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002096/0.2562, allocations: 2.162 MB / 450.1 MB, free: 15.44 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007936/0.257, allocations: 95.69 kB / 450.2 MB, free: 15.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.98e-05/0.2571, allocations: 71.94 kB / 450.3 MB, free: 15.27 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (146): * Single equations (assignments): 145 * 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.0009207/0.258, allocations: 0.6962 MB / 451 MB, free: 14.57 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001884/0.2582, allocations: 138.4 kB / 451.1 MB, free: 14.43 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00128/0.2595, allocations: 0.849 MB / 451.9 MB, free: 13.57 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.473e-06/0.2595, allocations: 4 kB / 451.9 MB, free: 13.56 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.2595, allocations: 4 kB / 452 MB, free: 13.56 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.2595, allocations: 3.984 kB / 452 MB, free: 13.55 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003339/0.2629, allocations: 2.503 MB / 454.5 MB, free: 10.95 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.2629, allocations: 12.02 kB / 454.5 MB, free: 10.94 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003635/0.2633, allocations: 95.89 kB / 454.6 MB, free: 10.85 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006236/0.2639, allocations: 156.7 kB / 454.7 MB, free: 10.69 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.401e-05/0.264, allocations: 16 kB / 454.7 MB, free: 10.68 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001884/0.2658, allocations: 2.092 MB / 456.8 MB, free: 8.449 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.2659, allocations: 8.062 kB / 456.8 MB, free: 8.441 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001714/0.2676, allocations: 1.324 MB / 458.2 MB, free: 7.066 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003674/0.268, allocations: 295.5 kB / 458.4 MB, free: 6.758 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001217/0.2681, allocations: 8 kB / 458.5 MB, free: 6.75 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000564/0.2687, allocations: 59.91 kB / 458.5 MB, free: 6.691 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.996e-05/0.2688, allocations: 47.94 kB / 458.6 MB, free: 6.645 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.575e-05/0.2688, allocations: 20 kB / 458.6 MB, free: 6.625 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001266/0.2701, allocations: 1.024 MB / 459.6 MB, free: 5.598 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.415e-06/0.2701, allocations: 0 / 459.6 MB, free: 5.598 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001106/0.2712, allocations: 355.9 kB / 460 MB, free: 5.25 MB / 330.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.0003762/0.2716, allocations: 156.2 kB / 460.1 MB, free: 5.098 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001717/0.2733, allocations: 1.157 MB / 461.3 MB, free: 3.93 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.254e-06/0.2733, allocations: 8.062 kB / 461.3 MB, free: 3.922 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007309/0.2741, allocations: 0.5141 MB / 461.8 MB, free: 3.395 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001417/0.2755, allocations: 372.5 kB / 462.1 MB, free: 3.035 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00471/0.2802, allocations: 3.765 MB / 465.9 MB, free: 15.2 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001215/0.2814, allocations: 1.666 MB / 467.6 MB, free: 13.5 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002286/0.2817, allocations: 99.36 kB / 467.7 MB, free: 13.4 MB / 346.7 MB Notification: Performance of SimCode: time 8.51e-07/0.2817, allocations: 0 / 467.7 MB, free: 13.4 MB / 346.7 MB Notification: Performance of Templates: time 0.03723/0.3189, allocations: 31.86 MB / 499.5 MB, free: 13.65 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/jenkins1/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