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.00141/0.00141, allocations: 111.1 kB / 17.74 MB, free: 5.312 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.001703/0.001704, allocations: 184.2 kB / 18.66 MB, free: 4.398 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.322/1.322, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001094/0.001094, allocations: 51.92 kB / 352 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2394/0.2405, allocations: 49.42 MB / 401.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.006649/0.2472, allocations: 5.906 MB / 407.3 MB, free: 2.949 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003559/0.2508, allocations: 2.068 MB / 409.4 MB, free: 0.875 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004478/0.2513, allocations: 47.81 kB / 409.4 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008796/0.2522, allocations: 394.6 kB / 409.8 MB, free: 452 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00119/0.2534, allocations: 0.5476 MB / 410.4 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003689/0.2538, allocations: 223.7 kB / 410.6 MB, free: 15.67 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00192/0.2557, allocations: 2.206 MB / 412.8 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002176/0.2579, allocations: 2.22 MB / 415 MB, free: 11.17 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001761/0.2596, allocations: 1.044 MB / 416 MB, free: 10.13 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001398/0.2611, allocations: 1.21 MB / 417.3 MB, free: 8.914 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003437/0.2614, allocations: 288 kB / 417.5 MB, free: 8.633 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006091/0.262, allocations: 371.8 kB / 417.9 MB, free: 8.27 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005257/0.2626, allocations: 0.7091 MB / 418.6 MB, free: 7.559 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001107/0.2637, allocations: 1.225 MB / 419.8 MB, free: 6.328 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003118/0.2668, allocations: 3.785 MB / 423.6 MB, free: 2.535 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.2668, allocations: 0 / 423.6 MB, free: 2.535 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2668, allocations: 0 / 423.6 MB, free: 2.535 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.714e-05/0.2669, allocations: 0 / 423.6 MB, free: 2.535 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.004268/0.2712, allocations: 2.379 MB / 426 MB, free: 104 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.2712, allocations: 15.89 kB / 426 MB, free: 88 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006576/0.2719, allocations: 250.5 kB / 426.3 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001976/0.2739, allocations: 1.349 MB / 427.6 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.079e-05/0.274, allocations: 135.5 kB / 427.7 MB, free: 14.31 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002551/0.2742, allocations: 183.9 kB / 427.9 MB, free: 14.13 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004001/0.2782, allocations: 2.547 MB / 430.5 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.015e-05/0.2783, allocations: 0 / 430.5 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001758/0.2785, allocations: 75.98 kB / 430.5 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.166e-05/0.2786, allocations: 95.58 kB / 430.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003227/0.2818, allocations: 2.114 MB / 432.7 MB, free: 9.277 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01048/0.2923, allocations: 7.351 MB / 440.1 MB, free: 1.676 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001548/0.2939, allocations: 1.262 MB / 441.4 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007592/0.2946, allocations: 476.1 kB / 441.8 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002221/0.2949, allocations: 117.6 kB / 441.9 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.35e-05/0.2949, allocations: 39 kB / 442 MB, free: 15.63 MB / 366.1 MB Notification: Performance of pre-optimization done (n=52): time 2.825e-06/0.2949, allocations: 8 kB / 442 MB, free: 15.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=53): time 0.00424/0.2992, allocations: 2.253 MB / 444.2 MB, free: 13.29 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.767e-05/0.2993, allocations: 89.48 kB / 444.3 MB, free: 13.18 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001971/0.3012, allocations: 1.504 MB / 445.8 MB, free: 11.67 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.674e-05/0.3013, allocations: 37.7 kB / 445.9 MB, free: 11.63 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006334/0.3019, allocations: 0.975 MB / 446.8 MB, free: 10.64 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001475/0.3021, allocations: 201.3 kB / 447 MB, free: 10.44 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003078/0.3024, allocations: 238.6 kB / 447.3 MB, free: 10.2 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.3026, allocations: 353.9 kB / 447.6 MB, free: 9.852 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006708/0.3032, allocations: 458.3 kB / 448.1 MB, free: 9.402 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001049/0.3043, allocations: 1.09 MB / 449.2 MB, free: 7.996 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001801/0.3061, allocations: 1.623 MB / 450.8 MB, free: 6.062 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.104e-05/0.3061, allocations: 4 kB / 450.8 MB, free: 6.059 MB / 366.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002717/0.3089, allocations: 1.687 MB / 452.5 MB, free: 4.363 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.811e-05/0.3089, allocations: 14.66 kB / 452.5 MB, free: 4.352 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.54e-05/0.3089, allocations: 24 kB / 452.5 MB, free: 4.328 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007501/0.3097, allocations: 180.7 kB / 452.7 MB, free: 4.148 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008547/0.3106, allocations: 287.5 kB / 453 MB, free: 3.867 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00233/0.3129, allocations: 2.369 MB / 455.3 MB, free: 1.355 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001031/0.3139, allocations: 83.67 kB / 455.4 MB, free: 1.273 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.431e-05/0.314, allocations: 64 kB / 455.5 MB, free: 1.211 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.0009657/0.315, allocations: 0.7133 MB / 456.2 MB, free: 500 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002231/0.3152, allocations: 126.7 kB / 456.3 MB, free: 372 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001457/0.3167, allocations: 0.8412 MB / 457.2 MB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/0.3167, allocations: 11.94 kB / 457.2 MB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.3167, allocations: 0 / 457.2 MB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.3167, allocations: 0 / 457.2 MB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003679/0.3204, allocations: 2.498 MB / 459.7 MB, free: 12.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/0.3205, allocations: 4 kB / 459.7 MB, free: 12.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003971/0.3209, allocations: 95.88 kB / 459.8 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006534/0.3215, allocations: 157 kB / 459.9 MB, free: 12.65 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.854e-05/0.3216, allocations: 12 kB / 459.9 MB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002184/0.3238, allocations: 2.302 MB / 462.2 MB, free: 10.19 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/0.3238, allocations: 8.031 kB / 462.2 MB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001996/0.3258, allocations: 1.317 MB / 463.6 MB, free: 8.816 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005333/0.3263, allocations: 283.4 kB / 463.8 MB, free: 8.52 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002424/0.3266, allocations: 20.06 kB / 463.8 MB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006665/0.3273, allocations: 47.95 kB / 463.9 MB, free: 8.453 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001275/0.3274, allocations: 51.88 kB / 463.9 MB, free: 8.402 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.38e-05/0.3275, allocations: 20 kB / 464 MB, free: 8.383 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001707/0.3292, allocations: 1.032 MB / 465 MB, free: 7.348 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.3292, allocations: 0 / 465 MB, free: 7.348 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001513/0.3307, allocations: 348 kB / 465.3 MB, free: 7.008 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.0004536/0.3312, allocations: 196.4 kB / 465.5 MB, free: 6.812 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00191/0.3331, allocations: 1.157 MB / 466.7 MB, free: 5.645 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.3331, allocations: 3.781 kB / 466.7 MB, free: 5.645 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007797/0.3339, allocations: 0.507 MB / 467.2 MB, free: 5.125 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001733/0.3356, allocations: 376 kB / 467.6 MB, free: 4.766 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005204/0.3408, allocations: 3.18 MB / 470.7 MB, free: 1.512 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001348/0.3422, allocations: 1.658 MB / 472.4 MB, free: 15.82 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002999/0.3425, allocations: 99.42 kB / 472.5 MB, free: 15.73 MB / 398.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3425, allocations: 0 / 472.5 MB, free: 15.73 MB / 398.1 MB Notification: Performance of Templates: time 0.04055/0.3831, allocations: 32.32 MB / 0.493 GB, free: 15.5 MB / 430.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.csv","/var/lib/jenkins1/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