Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_3.2.3_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_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 114.5 kB / 17.93 MB, free: 5.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 189.9 kB / 18.86 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.312/1.312, allocations: 205.1 MB / 224.7 MB, free: 12.36 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001081/0.001082, allocations: 51.94 kB / 280.8 MB, free: 3.484 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0745/0.07559, allocations: 46.63 MB / 327.4 MB, free: 4.789 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.006191/0.08182, allocations: 5.84 MB / 333.3 MB, free: 14.91 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003016/0.08486, allocations: 2.1 MB / 335.4 MB, free: 12.8 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004388/0.08534, allocations: 31.81 kB / 335.4 MB, free: 12.77 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009096/0.08626, allocations: 334.4 kB / 335.7 MB, free: 12.44 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001064/0.08733, allocations: 0.5169 MB / 336.3 MB, free: 11.92 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003328/0.08768, allocations: 199.8 kB / 336.5 MB, free: 11.73 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001923/0.08961, allocations: 2.272 MB / 338.7 MB, free: 9.445 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001762/0.09138, allocations: 1.887 MB / 340.6 MB, free: 7.52 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00191/0.0933, allocations: 1.054 MB / 341.7 MB, free: 6.473 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001228/0.09455, allocations: 1.23 MB / 342.9 MB, free: 5.238 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002954/0.09485, allocations: 291.9 kB / 343.2 MB, free: 4.953 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005348/0.09539, allocations: 379.8 kB / 343.6 MB, free: 4.582 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005231/0.09593, allocations: 0.7051 MB / 344.3 MB, free: 3.875 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00104/0.09698, allocations: 1.222 MB / 345.5 MB, free: 2.648 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002336/0.09932, allocations: 3.192 MB / 348.7 MB, free: 15.45 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.09934, allocations: 0 / 348.7 MB, free: 15.45 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.09935, allocations: 0 / 348.7 MB, free: 15.45 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.662e-05/0.09939, allocations: 0 / 348.7 MB, free: 15.45 MB / 302.1 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.003729/0.1031, allocations: 2.377 MB / 351 MB, free: 13.02 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.1032, allocations: 15.89 kB / 351.1 MB, free: 13 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005971/0.1038, allocations: 246.4 kB / 351.3 MB, free: 12.76 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001582/0.1054, allocations: 1.236 MB / 352.5 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.118e-05/0.1055, allocations: 135.5 kB / 352.7 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002309/0.1057, allocations: 176 kB / 352.8 MB, free: 11.17 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003738/0.1095, allocations: 2.543 MB / 355.4 MB, free: 8.605 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.27e-05/0.1095, allocations: 0 / 355.4 MB, free: 8.605 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001626/0.1097, allocations: 72 kB / 355.5 MB, free: 8.535 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.173e-05/0.1098, allocations: 99.52 kB / 355.6 MB, free: 8.438 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003125/0.1129, allocations: 2.103 MB / 357.7 MB, free: 6.332 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00958/0.1225, allocations: 7.46 MB / 365.1 MB, free: 14.62 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001365/0.1239, allocations: 1.263 MB / 366.4 MB, free: 13.22 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006767/0.1246, allocations: 474.9 kB / 366.8 MB, free: 12.76 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002022/0.1248, allocations: 113.5 kB / 367 MB, free: 12.62 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.78e-05/0.1248, allocations: 39 kB / 367 MB, free: 12.58 MB / 318.1 MB Notification: Performance of pre-optimization done (n=52): time 2.334e-06/0.1249, allocations: 3.938 kB / 367 MB, free: 12.57 MB / 318.1 MB Notification: Performance of matching and sorting (n=53): time 0.003722/0.1286, allocations: 2.265 MB / 369.3 MB, free: 10.23 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.764e-05/0.1287, allocations: 81.55 kB / 369.3 MB, free: 10.13 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001853/0.1305, allocations: 1.512 MB / 370.9 MB, free: 8.613 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.709e-05/0.1306, allocations: 37.7 kB / 370.9 MB, free: 8.57 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005795/0.1312, allocations: 0.9673 MB / 371.9 MB, free: 7.59 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001364/0.1313, allocations: 201.4 kB / 372.1 MB, free: 7.391 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002972/0.1316, allocations: 238.5 kB / 372.3 MB, free: 7.148 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.1317, allocations: 361.9 kB / 372.6 MB, free: 6.789 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006491/0.1324, allocations: 454.3 kB / 373.1 MB, free: 6.348 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001034/0.1334, allocations: 1.094 MB / 374.2 MB, free: 4.934 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001718/0.1352, allocations: 1.619 MB / 375.8 MB, free: 3.004 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.414e-05/0.1352, allocations: 8 kB / 375.8 MB, free: 2.996 MB / 318.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002517/0.1377, allocations: 1.683 MB / 377.5 MB, free: 1.301 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.652e-05/0.1378, allocations: 20.12 kB / 377.5 MB, free: 1.281 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.054e-05/0.1378, allocations: 20 kB / 377.5 MB, free: 1.262 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000717/0.1385, allocations: 180.6 kB / 377.7 MB, free: 1.082 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008239/0.1393, allocations: 287.5 kB / 378 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1318/0.2711, allocations: 2.36 MB / 380.3 MB, free: 49.31 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001131/0.2723, allocations: 82.77 kB / 380.4 MB, free: 49.31 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001687/0.2725, allocations: 71.34 kB / 380.5 MB, free: 49.31 MB / 318.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001012/0.2735, allocations: 0.7058 MB / 381.2 MB, free: 49.2 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002886/0.2738, allocations: 128.9 kB / 381.3 MB, free: 49.2 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001494/0.2753, allocations: 0.8461 MB / 382.2 MB, free: 49 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.2753, allocations: 5.625 kB / 382.2 MB, free: 49 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.2753, allocations: 1.641 kB / 382.2 MB, free: 49 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.2753, allocations: 7.297 kB / 382.2 MB, free: 48.99 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003395/0.2787, allocations: 2.499 MB / 384.7 MB, free: 47.87 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/0.2788, allocations: 5.719 kB / 384.7 MB, free: 47.87 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003644/0.2791, allocations: 100.1 kB / 384.8 MB, free: 47.86 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000634/0.2798, allocations: 151.2 kB / 384.9 MB, free: 47.83 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.602e-05/0.2798, allocations: 19.25 kB / 385 MB, free: 47.82 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001697/0.2815, allocations: 2.307 MB / 387.3 MB, free: 45.94 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/0.2815, allocations: 3.469 kB / 387.3 MB, free: 45.94 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001711/0.2833, allocations: 1.318 MB / 388.6 MB, free: 45.34 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003755/0.2837, allocations: 281.2 kB / 388.9 MB, free: 45.2 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001478/0.2838, allocations: 16.41 kB / 388.9 MB, free: 45.19 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005701/0.2844, allocations: 48.64 kB / 388.9 MB, free: 45.18 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.2845, allocations: 52.95 kB / 389 MB, free: 45.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.9e-05/0.2845, allocations: 20.08 kB / 389 MB, free: 45.16 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001588/0.2861, allocations: 1.038 MB / 390 MB, free: 44.75 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.2861, allocations: 0 / 390 MB, free: 44.75 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001213/0.2874, allocations: 348 kB / 390.4 MB, free: 44.72 MB / 318.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003504/0.2877, allocations: 179.7 kB / 390.5 MB, free: 44.62 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001806/0.2895, allocations: 1.244 MB / 391.8 MB, free: 44.14 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.2896, allocations: 1.094 kB / 391.8 MB, free: 44.14 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006663/0.2902, allocations: 0.5186 MB / 392.3 MB, free: 43.88 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001371/0.2916, allocations: 374.3 kB / 392.7 MB, free: 43.76 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004106/0.2957, allocations: 3.923 MB / 396.6 MB, free: 41.46 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009006/0.2966, allocations: 1.661 MB / 398.3 MB, free: 40.54 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002393/0.2969, allocations: 95.8 kB / 398.4 MB, free: 40.53 MB / 318.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2969, allocations: 0 / 398.4 MB, free: 40.53 MB / 318.1 MB Notification: Performance of Templates: time 0.02726/0.3242, allocations: 32.14 MB / 430.5 MB, free: 10.81 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches