Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001665/0.001665, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001994/0.001994, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.339/1.339, allocations: 227.4 MB / 246.8 MB, free: 10.65 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001131/0.001131, allocations: 58.12 kB / 306.9 MB, free: 0.6641 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09232/0.09347, allocations: 50.53 MB / 357.5 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.006578/0.1001, allocations: 5.915 MB / 363.4 MB, free: 8.184 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003218/0.1033, allocations: 2.119 MB / 365.5 MB, free: 6.059 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003763/0.1037, allocations: 43.81 kB / 365.5 MB, free: 6.016 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007997/0.1045, allocations: 393.6 kB / 365.9 MB, free: 5.629 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001046/0.1056, allocations: 0.5593 MB / 366.5 MB, free: 5.066 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003514/0.106, allocations: 227.7 kB / 366.7 MB, free: 4.844 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001678/0.1076, allocations: 2.206 MB / 368.9 MB, free: 2.629 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002048/0.1097, allocations: 2.22 MB / 371.1 MB, free: 356 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1639/0.2736, allocations: 1.057 MB / 372.2 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00294/0.2766, allocations: 1.214 MB / 373.4 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006908/0.2773, allocations: 287.8 kB / 373.7 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001095/0.2784, allocations: 374 kB / 374.1 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006818/0.2791, allocations: 0.7092 MB / 374.8 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001469/0.2806, allocations: 1.224 MB / 376 MB, free: 10.6 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004667/0.2853, allocations: 3.751 MB / 379.7 MB, free: 10.08 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.2853, allocations: 0 / 379.7 MB, free: 10.08 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.2853, allocations: 3.188 kB / 379.7 MB, free: 10.08 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.000103/0.2854, allocations: 0 / 379.7 MB, free: 10.08 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.005576/0.291, allocations: 2.398 MB / 382.1 MB, free: 8.684 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.291, allocations: 14 kB / 382.2 MB, free: 8.68 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001082/0.2921, allocations: 277.9 kB / 382.4 MB, free: 8.57 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002085/0.2942, allocations: 1.315 MB / 383.7 MB, free: 7.852 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.986e-05/0.2943, allocations: 132.8 kB / 383.9 MB, free: 7.793 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002855/0.2946, allocations: 184.8 kB / 384.1 MB, free: 7.73 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004345/0.299, allocations: 2.543 MB / 386.6 MB, free: 6.738 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.102e-05/0.299, allocations: 0 / 386.6 MB, free: 6.738 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001711/0.2992, allocations: 71.28 kB / 386.7 MB, free: 6.684 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001001/0.2993, allocations: 103.6 kB / 386.8 MB, free: 6.664 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003419/0.3027, allocations: 2.108 MB / 388.9 MB, free: 5.551 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009792/0.3126, allocations: 7.444 MB / 396.3 MB, free: 236 kB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001336/0.3139, allocations: 1.275 MB / 397.6 MB, free: 15.18 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006441/0.3146, allocations: 474.6 kB / 398.1 MB, free: 14.96 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001998/0.3148, allocations: 120 kB / 398.2 MB, free: 14.85 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.3148, allocations: 42.67 kB / 398.2 MB, free: 14.8 MB / 318.1 MB Notification: Performance of pre-optimization done (n=52): time 2.194e-06/0.3148, allocations: 0 / 398.2 MB, free: 14.8 MB / 318.1 MB Notification: Performance of matching and sorting (n=53): time 0.004142/0.319, allocations: 2.261 MB / 400.5 MB, free: 13.36 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.152e-05/0.3191, allocations: 83.58 kB / 400.6 MB, free: 13.27 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002067/0.3212, allocations: 1.514 MB / 402.1 MB, free: 12.45 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.458e-05/0.3212, allocations: 32.45 kB / 402.1 MB, free: 12.41 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006591/0.3219, allocations: 0.9834 MB / 403.1 MB, free: 11.55 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001423/0.3221, allocations: 195.1 kB / 403.3 MB, free: 11.39 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002936/0.3224, allocations: 238.8 kB / 403.5 MB, free: 11.25 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.3225, allocations: 366 kB / 403.9 MB, free: 10.9 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006504/0.3232, allocations: 456.1 kB / 404.3 MB, free: 10.67 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001035/0.3242, allocations: 1.094 MB / 405.4 MB, free: 9.32 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001772/0.326, allocations: 1.62 MB / 407 MB, free: 7.48 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.161e-05/0.326, allocations: 11.94 kB / 407 MB, free: 7.469 MB / 318.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002698/0.3287, allocations: 1.674 MB / 408.7 MB, free: 5.918 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.774e-05/0.3288, allocations: 19.94 kB / 408.7 MB, free: 5.898 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.534e-05/0.3288, allocations: 27.98 kB / 408.8 MB, free: 5.871 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007326/0.3295, allocations: 184.7 kB / 408.9 MB, free: 5.691 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008314/0.3304, allocations: 280.6 kB / 409.2 MB, free: 5.441 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002171/0.3326, allocations: 2.357 MB / 411.6 MB, free: 2.961 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001117/0.3337, allocations: 87.58 kB / 411.7 MB, free: 2.875 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.245e-05/0.3338, allocations: 68.06 kB / 411.7 MB, free: 2.809 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.3348, allocations: 0.7086 MB / 412.4 MB, free: 2.113 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002562/0.3351, allocations: 134.5 kB / 412.6 MB, free: 1.98 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001374/0.3365, allocations: 0.8478 MB / 413.4 MB, free: 1.125 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.3365, allocations: 4 kB / 413.4 MB, free: 1.121 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.155e-06/0.3365, allocations: 0 / 413.4 MB, free: 1.121 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.3365, allocations: 4 kB / 413.4 MB, free: 1.117 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003682/0.3402, allocations: 2.498 MB / 415.9 MB, free: 14.56 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.3402, allocations: 4 kB / 415.9 MB, free: 14.56 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000372/0.3406, allocations: 98.88 kB / 416 MB, free: 14.47 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006089/0.3412, allocations: 149 kB / 416.2 MB, free: 14.32 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.672e-05/0.3413, allocations: 19.94 kB / 416.2 MB, free: 14.3 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002086/0.3433, allocations: 2.295 MB / 418.5 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.793e-06/0.3434, allocations: 7.5 kB / 418.5 MB, free: 11.88 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002017/0.3454, allocations: 1.313 MB / 419.8 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006103/0.346, allocations: 291.4 kB / 420.1 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000153/0.3462, allocations: 16.06 kB / 420.1 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005872/0.3468, allocations: 43.97 kB / 420.1 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001209/0.3469, allocations: 55.5 kB / 420.2 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.012e-05/0.347, allocations: 19.98 kB / 420.2 MB, free: 10.09 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001381/0.3483, allocations: 1.044 MB / 421.3 MB, free: 9.039 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.3483, allocations: 0 / 421.3 MB, free: 9.039 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001482/0.3498, allocations: 352 kB / 421.6 MB, free: 8.695 MB / 334.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.0005077/0.3504, allocations: 198.8 kB / 421.8 MB, free: 8.512 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002083/0.3524, allocations: 1.25 MB / 423 MB, free: 7.32 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.3525, allocations: 1.875 kB / 423 MB, free: 7.32 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008631/0.3533, allocations: 0.5087 MB / 423.6 MB, free: 6.812 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001848/0.3552, allocations: 370.8 kB / 423.9 MB, free: 6.457 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004979/0.3602, allocations: 3.235 MB / 427.2 MB, free: 3.168 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001288/0.3615, allocations: 1.71 MB / 428.9 MB, free: 1.426 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0009546/0.3625, allocations: 319.4 kB / 429.2 MB, free: 1.109 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000197/0.3627, allocations: 95.42 kB / 429.3 MB, free: 1.016 MB / 334.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3627, allocations: 0 / 429.3 MB, free: 1.016 MB / 334.1 MB Notification: Performance of Templates: time 0.03279/0.3955, allocations: 18.55 MB / 447.8 MB, free: 14.72 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches