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/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 4.0.0+maint.om/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 101.3 kB / 17.05 MB, free: 6.125 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.001028/0.001028, allocations: 196.1 kB / 18 MB, free: 5.199 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.309/1.309, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009561/0.0009561, allocations: 43.92 kB / 351.3 MB, free: 3.266 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2362/0.2371, allocations: 49.43 MB / 400.7 MB, free: 8.762 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.006691/0.2438, allocations: 5.92 MB / 406.6 MB, free: 2.949 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003801/0.2477, allocations: 2.056 MB / 408.7 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006147/0.2483, allocations: 43.88 kB / 408.7 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008689/0.2493, allocations: 398.7 kB / 409.1 MB, free: 464 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001209/0.2505, allocations: 0.5671 MB / 409.7 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003889/0.2509, allocations: 219.7 kB / 409.9 MB, free: 15.67 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001837/0.2527, allocations: 2.206 MB / 412.1 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002101/0.2549, allocations: 2.224 MB / 414.3 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001679/0.2565, allocations: 1.05 MB / 415.4 MB, free: 10.12 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001412/0.258, allocations: 1.214 MB / 416.6 MB, free: 8.902 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003735/0.2584, allocations: 288 kB / 416.9 MB, free: 8.621 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006309/0.259, allocations: 371.8 kB / 417.2 MB, free: 8.258 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005548/0.2596, allocations: 0.7013 MB / 417.9 MB, free: 7.555 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001251/0.2608, allocations: 1.237 MB / 419.2 MB, free: 6.312 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003144/0.264, allocations: 3.785 MB / 423 MB, free: 2.52 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.264, allocations: 0 / 423 MB, free: 2.52 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.264, allocations: 0 / 423 MB, free: 2.52 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.107e-05/0.2641, allocations: 0 / 423 MB, free: 2.52 MB / 334.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.003979/0.2681, allocations: 2.381 MB / 425.4 MB, free: 84 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.2681, allocations: 11.89 kB / 425.4 MB, free: 72 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000604/0.2687, allocations: 250.5 kB / 425.6 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001836/0.2706, allocations: 1.349 MB / 427 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.956e-05/0.2707, allocations: 135.5 kB / 427.1 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000238/0.2709, allocations: 175.9 kB / 427.3 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003467/0.2744, allocations: 2.551 MB / 429.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.296e-05/0.2744, allocations: 3.984 kB / 429.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001487/0.2746, allocations: 72 kB / 429.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.46e-05/0.2747, allocations: 99.58 kB / 430 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002998/0.2777, allocations: 2.103 MB / 432.1 MB, free: 9.273 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009027/0.2867, allocations: 7.367 MB / 439.5 MB, free: 1.656 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001285/0.288, allocations: 1.258 MB / 440.7 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006466/0.2887, allocations: 476.1 kB / 441.2 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001895/0.2889, allocations: 113.5 kB / 441.3 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.2889, allocations: 39 kB / 441.3 MB, free: 15.62 MB / 366.1 MB Notification: Performance of pre-optimization done (n=52): time 2.204e-06/0.2889, allocations: 0 / 441.3 MB, free: 15.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=53): time 0.00349/0.2924, allocations: 2.261 MB / 443.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.2925, allocations: 85.53 kB / 443.7 MB, free: 13.17 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001708/0.2942, allocations: 1.508 MB / 445.2 MB, free: 11.66 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.744e-05/0.2942, allocations: 37.7 kB / 445.2 MB, free: 11.61 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005646/0.2948, allocations: 0.9672 MB / 446.2 MB, free: 10.64 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001255/0.2949, allocations: 197.3 kB / 446.4 MB, free: 10.44 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002938/0.2952, allocations: 246.6 kB / 446.6 MB, free: 10.2 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.2954, allocations: 357.9 kB / 447 MB, free: 9.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006245/0.296, allocations: 454.3 kB / 447.4 MB, free: 9.395 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001099/0.2971, allocations: 1.094 MB / 448.5 MB, free: 7.984 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001722/0.2988, allocations: 1.619 MB / 450.1 MB, free: 6.055 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.847e-06/0.2989, allocations: 8 kB / 450.1 MB, free: 6.047 MB / 366.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002584/0.3014, allocations: 1.683 MB / 451.8 MB, free: 4.355 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.465e-05/0.3015, allocations: 16 kB / 451.8 MB, free: 4.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.288e-05/0.3015, allocations: 20 kB / 451.8 MB, free: 4.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007404/0.3023, allocations: 184.6 kB / 452 MB, free: 4.137 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008186/0.3031, allocations: 283.5 kB / 452.3 MB, free: 3.859 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002109/0.3052, allocations: 2.365 MB / 454.7 MB, free: 1.352 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008836/0.3061, allocations: 87.67 kB / 454.8 MB, free: 1.266 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.129e-05/0.3062, allocations: 68 kB / 454.8 MB, free: 1.199 MB / 366.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.0008842/0.3071, allocations: 0.7117 MB / 455.5 MB, free: 488 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002032/0.3073, allocations: 126.5 kB / 455.7 MB, free: 360 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001383/0.3087, allocations: 0.8373 MB / 456.5 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.3087, allocations: 4 kB / 456.5 MB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.737e-06/0.3087, allocations: 12.05 kB / 456.5 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.3087, allocations: 3.938 kB / 456.5 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00347/0.3122, allocations: 2.494 MB / 459 MB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.3122, allocations: 0 / 459 MB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003737/0.3126, allocations: 95.89 kB / 459.1 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006206/0.3132, allocations: 160.9 kB / 459.3 MB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.57e-05/0.3133, allocations: 12 kB / 459.3 MB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002014/0.3153, allocations: 2.299 MB / 461.6 MB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.3153, allocations: 8.109 kB / 461.6 MB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001736/0.3171, allocations: 1.313 MB / 462.9 MB, free: 8.812 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003908/0.3175, allocations: 287.5 kB / 463.2 MB, free: 8.512 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001271/0.3176, allocations: 20.06 kB / 463.2 MB, free: 8.492 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000594/0.3182, allocations: 43.97 kB / 463.2 MB, free: 8.449 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.3183, allocations: 47.88 kB / 463.3 MB, free: 8.402 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-05/0.3184, allocations: 23.98 kB / 463.3 MB, free: 8.379 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001276/0.3197, allocations: 1.032 MB / 464.3 MB, free: 7.344 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3197, allocations: 0 / 464.3 MB, free: 7.344 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001222/0.3209, allocations: 348 kB / 464.7 MB, free: 7.004 MB / 382.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.0004256/0.3213, allocations: 208.8 kB / 464.9 MB, free: 6.801 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001821/0.3232, allocations: 1.155 MB / 466 MB, free: 5.633 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.3232, allocations: 9.719 kB / 466 MB, free: 5.629 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007312/0.3239, allocations: 0.507 MB / 466.5 MB, free: 5.109 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001323/0.3252, allocations: 362.1 kB / 466.9 MB, free: 4.762 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004362/0.3296, allocations: 3.195 MB / 470.1 MB, free: 1.496 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001148/0.3308, allocations: 1.702 MB / 471.8 MB, free: 15.76 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006862/0.3315, allocations: 323.3 kB / 472.1 MB, free: 15.44 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000185/0.3317, allocations: 87.42 kB / 472.2 MB, free: 15.36 MB / 398.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3317, allocations: 3.938 kB / 472.2 MB, free: 15.35 MB / 398.1 MB Notification: Performance of Templates: time 0.02858/0.3603, allocations: 18.95 MB / 491.2 MB, free: 12.62 MB / 414.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches