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.001582/0.001582, allocations: 186.5 kB / 17.27 MB, free: 4.504 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.304/1.304, allocations: 222.9 MB / 240.9 MB, free: 10.99 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.001131/0.001131, allocations: 98.11 kB / 291.2 MB, free: 10.95 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008468/0.0008468, allocations: 47.94 kB / 350 MB, free: 72 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2185/0.2194, allocations: 49.43 MB / 399.5 MB, free: 33.38 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.00496/0.2244, allocations: 5.899 MB / 405.4 MB, free: 27.46 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002457/0.2269, allocations: 2.043 MB / 407.4 MB, free: 25.41 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003358/0.2272, allocations: 39.81 kB / 407.5 MB, free: 25.37 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007021/0.228, allocations: 335.8 kB / 407.8 MB, free: 25.04 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008792/0.2289, allocations: 0.513 MB / 408.3 MB, free: 24.53 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002759/0.2291, allocations: 179.9 kB / 408.5 MB, free: 24.35 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001621/0.2308, allocations: 2.518 MB / 411 MB, free: 21.82 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001424/0.2322, allocations: 1.872 MB / 412.9 MB, free: 19.89 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001969/0.2342, allocations: 0.9013 MB / 413.8 MB, free: 18.99 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009866/0.2352, allocations: 1.156 MB / 414.9 MB, free: 17.83 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002029/0.2354, allocations: 176 kB / 415.1 MB, free: 17.66 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000473/0.2359, allocations: 271.8 kB / 415.4 MB, free: 17.39 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003664/0.2363, allocations: 0.5919 MB / 415.9 MB, free: 16.8 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008035/0.2371, allocations: 1.104 MB / 417.1 MB, free: 15.69 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001948/0.239, allocations: 3.665 MB / 420.7 MB, free: 12.02 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.239, allocations: 0 / 420.7 MB, free: 12.02 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.239, allocations: 4 kB / 420.7 MB, free: 12.01 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.046e-05/0.2391, allocations: 4 kB / 420.7 MB, free: 12.01 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.003469/0.2426, allocations: 2.377 MB / 423.1 MB, free: 9.574 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.2426, allocations: 8.031 kB / 423.1 MB, free: 9.566 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005218/0.2431, allocations: 250.4 kB / 423.4 MB, free: 9.32 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001748/0.2449, allocations: 1.306 MB / 424.7 MB, free: 7.969 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.226e-05/0.245, allocations: 135.5 kB / 424.8 MB, free: 7.836 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001904/0.2452, allocations: 172 kB / 425 MB, free: 7.668 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002922/0.2481, allocations: 2.547 MB / 427.5 MB, free: 5.098 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.925e-05/0.2481, allocations: 0 / 427.5 MB, free: 5.098 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001353/0.2483, allocations: 79.98 kB / 427.6 MB, free: 5.02 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.405e-05/0.2484, allocations: 95.58 kB / 427.7 MB, free: 4.926 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002561/0.2509, allocations: 2.106 MB / 429.8 MB, free: 2.816 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008888/0.2598, allocations: 7.445 MB / 437.2 MB, free: 11.12 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001299/0.2611, allocations: 1.263 MB / 438.5 MB, free: 9.723 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006721/0.2618, allocations: 481.8 kB / 439 MB, free: 9.25 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002037/0.262, allocations: 109.5 kB / 439.1 MB, free: 9.125 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.702e-05/0.2621, allocations: 42.98 kB / 439.1 MB, free: 9.074 MB / 314.7 MB Notification: Performance of pre-optimization done (n=52): time 3.086e-06/0.2621, allocations: 4 kB / 439.1 MB, free: 9.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=53): time 0.003666/0.2658, allocations: 2.257 MB / 441.4 MB, free: 6.73 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.732e-05/0.2659, allocations: 85.55 kB / 441.5 MB, free: 6.629 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001822/0.2677, allocations: 1.508 MB / 443 MB, free: 5.113 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.887e-05/0.2677, allocations: 37.7 kB / 443 MB, free: 5.07 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005942/0.2683, allocations: 0.9711 MB / 444 MB, free: 4.086 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001351/0.2685, allocations: 193.4 kB / 444.2 MB, free: 3.895 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000304/0.2688, allocations: 242.6 kB / 444.4 MB, free: 3.652 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.2689, allocations: 357.9 kB / 444.7 MB, free: 3.297 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006489/0.2696, allocations: 454.3 kB / 445.2 MB, free: 2.852 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001003/0.2706, allocations: 1.094 MB / 446.3 MB, free: 1.445 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001662/0.2723, allocations: 1.615 MB / 447.9 MB, free: 15.52 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.094e-05/0.2723, allocations: 8 kB / 447.9 MB, free: 15.51 MB / 330.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002506/0.2748, allocations: 1.691 MB / 449.6 MB, free: 13.81 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.755e-05/0.2748, allocations: 16 kB / 449.6 MB, free: 13.8 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.295e-05/0.2749, allocations: 24 kB / 449.6 MB, free: 13.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006915/0.2756, allocations: 176.8 kB / 449.8 MB, free: 13.6 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008146/0.2764, allocations: 287.5 kB / 450.1 MB, free: 13.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002146/0.2785, allocations: 2.154 MB / 452.2 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001073/0.2796, allocations: 87.67 kB / 452.3 MB, free: 10.94 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.42e-05/0.2797, allocations: 64 kB / 452.4 MB, free: 10.88 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 (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.001089/0.2808, allocations: 0.7117 MB / 453.1 MB, free: 10.15 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002345/0.2811, allocations: 134.3 kB / 453.2 MB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001411/0.2825, allocations: 0.8412 MB / 454.1 MB, free: 9.168 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.2825, allocations: 4 kB / 454.1 MB, free: 9.164 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.2825, allocations: 4 kB / 454.1 MB, free: 9.16 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.2825, allocations: 0 / 454.1 MB, free: 9.16 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003824/0.2864, allocations: 2.498 MB / 456.6 MB, free: 6.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.2864, allocations: 4.344 kB / 456.6 MB, free: 6.566 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003619/0.2868, allocations: 99.88 kB / 456.7 MB, free: 6.469 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005924/0.2874, allocations: 152.6 kB / 456.8 MB, free: 6.316 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.485e-05/0.2874, allocations: 16 kB / 456.8 MB, free: 6.301 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002046/0.2895, allocations: 2.1 MB / 458.9 MB, free: 4.066 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.2895, allocations: 4 kB / 459 MB, free: 4.062 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01053/0.3, allocations: 7.03 MB / 466 MB, free: 12.69 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006052/0.3007, allocations: 279.5 kB / 466.3 MB, free: 12.39 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002157/0.3009, allocations: 16 kB / 466.3 MB, free: 12.38 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000688/0.3016, allocations: 52.08 kB / 466.3 MB, free: 12.33 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001461/0.3018, allocations: 47.81 kB / 466.4 MB, free: 12.28 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.238e-05/0.3018, allocations: 20 kB / 466.4 MB, free: 12.26 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001667/0.3035, allocations: 1.036 MB / 467.4 MB, free: 11.22 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3035, allocations: 0 / 467.4 MB, free: 11.22 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001804/0.3053, allocations: 476 kB / 467.9 MB, free: 10.76 MB / 346.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 (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.0005013/0.3059, allocations: 193.5 kB / 468.1 MB, free: 10.57 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002142/0.308, allocations: 1.157 MB / 469.2 MB, free: 9.406 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.366e-06/0.308, allocations: 7.953 kB / 469.2 MB, free: 9.398 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008059/0.3088, allocations: 0.5021 MB / 469.7 MB, free: 8.883 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001818/0.3107, allocations: 356.6 kB / 470.1 MB, free: 8.535 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007781/0.3185, allocations: 4.492 MB / 474.6 MB, free: 3.953 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00214/0.3207, allocations: 1.714 MB / 476.3 MB, free: 2.207 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001258/0.3219, allocations: 331.5 kB / 476.6 MB, free: 1.879 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003689/0.3223, allocations: 91.42 kB / 476.7 MB, free: 1.789 MB / 346.7 MB Notification: Performance of SimCode: time 1.042e-06/0.3223, allocations: 0 / 476.7 MB, free: 1.789 MB / 346.7 MB Notification: Performance of Templates: time 0.03667/0.359, allocations: 19.08 MB / 495.8 MB, free: 14.91 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@2/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