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.001492/0.001492, allocations: 116.4 kB / 17.69 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.001681/0.001681, allocations: 191 kB / 18.63 MB, free: 4.379 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.324/1.324, allocations: 222.9 MB / 242.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000931/0.0009311, allocations: 52.23 kB / 302.1 MB, free: 5.168 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07969/0.08064, allocations: 49.44 MB / 351.5 MB, free: 3.707 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.006516/0.08718, allocations: 5.898 MB / 357.4 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003002/0.0902, allocations: 2.08 MB / 359.5 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003475/0.09056, allocations: 35.88 kB / 359.5 MB, free: 11.65 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000829/0.09142, allocations: 389.4 kB / 359.9 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001063/0.09249, allocations: 0.5476 MB / 360.5 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003367/0.09284, allocations: 223.7 kB / 360.7 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001851/0.0947, allocations: 2.21 MB / 362.9 MB, free: 8.277 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002126/0.09684, allocations: 2.224 MB / 365.1 MB, free: 5.988 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001493/0.09834, allocations: 1.053 MB / 366.2 MB, free: 4.941 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001243/0.09959, allocations: 1.207 MB / 367.4 MB, free: 3.73 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002958/0.0999, allocations: 288 kB / 367.6 MB, free: 3.449 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004986/0.1004, allocations: 371.8 kB / 368 MB, free: 3.086 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005438/0.101, allocations: 0.7052 MB / 368.7 MB, free: 2.379 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00106/0.102, allocations: 1.225 MB / 369.9 MB, free: 1.148 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1441/0.2461, allocations: 3.773 MB / 373.7 MB, free: 16.2 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.2462, allocations: 3.656 kB / 373.7 MB, free: 16.2 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2462, allocations: 1.5 kB / 373.7 MB, free: 16.2 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.577e-05/0.2462, allocations: 0 / 373.7 MB, free: 16.2 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.004068/0.2503, allocations: 2.384 MB / 376.1 MB, free: 15.18 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.2504, allocations: 15.73 kB / 376.1 MB, free: 15.17 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006493/0.251, allocations: 247.2 kB / 376.4 MB, free: 15.07 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002214/0.2532, allocations: 1.35 MB / 377.7 MB, free: 14.69 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.719e-05/0.2533, allocations: 133 kB / 377.8 MB, free: 14.69 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002553/0.2536, allocations: 176.1 kB / 378 MB, free: 14.68 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003673/0.2573, allocations: 2.546 MB / 380.6 MB, free: 14.25 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.407e-05/0.2573, allocations: 1.219 kB / 380.6 MB, free: 14.25 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001715/0.2575, allocations: 72.62 kB / 380.6 MB, free: 14.2 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.973e-05/0.2576, allocations: 99.06 kB / 380.7 MB, free: 14.19 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002927/0.2605, allocations: 2.112 MB / 382.8 MB, free: 13.41 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008759/0.2693, allocations: 7.356 MB / 390.2 MB, free: 8.707 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001123/0.2704, allocations: 1.258 MB / 391.4 MB, free: 7.668 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006107/0.2711, allocations: 472.8 kB / 391.9 MB, free: 7.438 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001719/0.2712, allocations: 119.6 kB / 392 MB, free: 7.328 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.2713, allocations: 41.19 kB / 392.1 MB, free: 7.285 MB / 302.1 MB Notification: Performance of pre-optimization done (n=52): time 2.214e-06/0.2713, allocations: 5.781 kB / 392.1 MB, free: 7.285 MB / 302.1 MB Notification: Performance of matching and sorting (n=53): time 0.003239/0.2745, allocations: 2.257 MB / 394.3 MB, free: 5.844 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.949e-05/0.2746, allocations: 85.86 kB / 394.4 MB, free: 5.746 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001686/0.2763, allocations: 1.509 MB / 395.9 MB, free: 4.922 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.791e-05/0.2763, allocations: 36.45 kB / 396 MB, free: 4.883 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004183/0.2767, allocations: 0.9707 MB / 396.9 MB, free: 4.031 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/0.2768, allocations: 189.6 kB / 397.1 MB, free: 3.875 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002706/0.2771, allocations: 238 kB / 397.3 MB, free: 3.73 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.169e-05/0.2772, allocations: 361.5 kB / 397.7 MB, free: 3.387 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005506/0.2777, allocations: 455.7 kB / 398.1 MB, free: 3.16 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007285/0.2785, allocations: 1.096 MB / 399.2 MB, free: 2.035 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001302/0.2798, allocations: 1.619 MB / 400.9 MB, free: 0.6914 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.266e-06/0.2798, allocations: 5.781 kB / 400.9 MB, free: 0.6914 MB / 302.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002082/0.2819, allocations: 1.686 MB / 402.5 MB, free: 15.94 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.2819, allocations: 15.81 kB / 402.6 MB, free: 15.94 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.99e-05/0.282, allocations: 26.27 kB / 402.6 MB, free: 15.94 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006859/0.2826, allocations: 184.3 kB / 402.8 MB, free: 15.85 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008505/0.2835, allocations: 284.4 kB / 403 MB, free: 15.64 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002216/0.2857, allocations: 2.359 MB / 405.4 MB, free: 13.17 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009186/0.2867, allocations: 87.67 kB / 405.5 MB, free: 13.09 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001027/0.2868, allocations: 64 kB / 405.6 MB, free: 13.02 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.0009068/0.2877, allocations: 0.7201 MB / 406.3 MB, free: 12.32 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000214/0.2879, allocations: 130.4 kB / 406.4 MB, free: 12.19 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0014/0.2893, allocations: 0.8398 MB / 407.2 MB, free: 11.34 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.2893, allocations: 6.625 kB / 407.2 MB, free: 11.34 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.2894, allocations: 4 kB / 407.3 MB, free: 11.33 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.2894, allocations: 7.984 kB / 407.3 MB, free: 11.32 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0038/0.2932, allocations: 2.485 MB / 409.7 MB, free: 8.777 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.2932, allocations: 352 / 409.7 MB, free: 8.777 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003733/0.2936, allocations: 105.8 kB / 409.8 MB, free: 8.68 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006265/0.2942, allocations: 146.1 kB / 410 MB, free: 8.535 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.968e-05/0.2943, allocations: 16 kB / 410 MB, free: 8.52 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002176/0.2964, allocations: 2.319 MB / 412.3 MB, free: 6.094 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/0.2965, allocations: 5.125 kB / 412.3 MB, free: 6.09 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001804/0.2983, allocations: 1.312 MB / 413.6 MB, free: 4.738 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005309/0.2988, allocations: 283.5 kB / 413.9 MB, free: 4.441 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001525/0.299, allocations: 18.62 kB / 413.9 MB, free: 4.426 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005974/0.2996, allocations: 43.95 kB / 414 MB, free: 4.383 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/0.2997, allocations: 51.28 kB / 414 MB, free: 4.336 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.04e-05/0.2997, allocations: 20 kB / 414.1 MB, free: 4.316 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001357/0.3011, allocations: 1.04 MB / 415.1 MB, free: 3.273 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3011, allocations: 0 / 415.1 MB, free: 3.273 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001252/0.3024, allocations: 348 kB / 415.4 MB, free: 2.934 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.0003946/0.3028, allocations: 181.6 kB / 415.6 MB, free: 2.762 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001654/0.3044, allocations: 1.161 MB / 416.8 MB, free: 1.656 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.3045, allocations: 320 / 416.8 MB, free: 1.656 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007545/0.3052, allocations: 0.5098 MB / 417.3 MB, free: 1.145 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001384/0.3066, allocations: 377.9 kB / 417.6 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004441/0.3111, allocations: 3.204 MB / 420.9 MB, free: 13.54 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001261/0.3124, allocations: 1.698 MB / 422.6 MB, free: 11.81 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0007593/0.3131, allocations: 323.2 kB / 422.9 MB, free: 11.49 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002111/0.3133, allocations: 87.42 kB / 423 MB, free: 11.41 MB / 334.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3133, allocations: 4 kB / 423 MB, free: 11.4 MB / 334.1 MB Notification: Performance of Templates: time 0.02921/0.3426, allocations: 18.55 MB / 441.5 MB, free: 9.145 MB / 350.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 -s gbode -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