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.001272/0.001272, allocations: 95.81 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001962/0.001962, allocations: 208.3 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.38/1.38, allocations: 227.2 MB / 245.9 MB, free: 12.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002398/0.0002398, allocations: 4 kB / 306.6 MB, free: 1.633 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1324, allocations: 51.5 MB / 358.1 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.005643/0.1381, allocations: 4.782 MB / 362.9 MB, free: 9.332 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004384/0.1426, allocations: 2.039 MB / 364.9 MB, free: 7.289 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006151/0.1432, allocations: 31.81 kB / 364.9 MB, free: 7.258 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000738/0.144, allocations: 326.3 kB / 365.2 MB, free: 6.938 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001007/0.145, allocations: 458.6 kB / 365.7 MB, free: 6.488 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003229/0.1453, allocations: 135.8 kB / 365.8 MB, free: 6.355 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001472/0.1468, allocations: 1.408 MB / 367.2 MB, free: 4.945 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00153/0.1483, allocations: 1.425 MB / 368.7 MB, free: 3.48 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009596/0.1493, allocations: 0.7163 MB / 369.4 MB, free: 2.762 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009555/0.1503, allocations: 0.8443 MB / 370.2 MB, free: 1.914 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001668/0.1505, allocations: 128 kB / 370.3 MB, free: 1.789 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004085/0.1509, allocations: 183.9 kB / 370.5 MB, free: 1.609 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004081/0.1513, allocations: 0.4985 MB / 371 MB, free: 1.109 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003447/0.1516, allocations: 436.7 kB / 371.4 MB, free: 0.6758 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2042/0.3558, allocations: 3.071 MB / 374.5 MB, free: 11.52 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3559, allocations: 0 / 374.5 MB, free: 11.52 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.926e-06/0.3559, allocations: 0 / 374.5 MB, free: 11.52 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001376/0.356, allocations: 0.9062 kB / 374.5 MB, free: 11.52 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.005322/0.3613, allocations: 2.047 MB / 376.6 MB, free: 10.53 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.3614, allocations: 10.78 kB / 376.6 MB, free: 10.53 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001122/0.3625, allocations: 290.8 kB / 376.9 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00256/0.3651, allocations: 1.264 MB / 378.1 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.551e-05/0.3652, allocations: 132.2 kB / 378.3 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00027/0.3655, allocations: 176.5 kB / 378.4 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004663/0.3701, allocations: 2.531 MB / 381 MB, free: 9.945 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.192e-05/0.3702, allocations: 0 / 381 MB, free: 9.945 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001697/0.3704, allocations: 73.3 kB / 381 MB, free: 9.945 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.994e-05/0.3705, allocations: 91.89 kB / 381.1 MB, free: 9.941 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003908/0.3744, allocations: 2.114 MB / 383.2 MB, free: 9.922 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01147/0.3859, allocations: 7.492 MB / 390.7 MB, free: 5.684 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00127/0.3872, allocations: 1.275 MB / 392 MB, free: 4.629 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001959/0.3874, allocations: 118.3 kB / 392.1 MB, free: 4.523 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.3874, allocations: 45.86 kB / 392.2 MB, free: 4.473 MB / 302.1 MB Notification: Performance of pre-optimization done (n=52): time 3.206e-06/0.3874, allocations: 0 / 392.2 MB, free: 4.473 MB / 302.1 MB Notification: Performance of matching and sorting (n=53): time 0.003807/0.3913, allocations: 2.288 MB / 394.4 MB, free: 3.035 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.724e-05/0.3913, allocations: 87.03 kB / 394.5 MB, free: 2.934 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001845/0.3932, allocations: 1.495 MB / 396 MB, free: 2.113 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.123e-05/0.3932, allocations: 36.83 kB / 396.1 MB, free: 2.074 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004804/0.3937, allocations: 0.9697 MB / 397 MB, free: 1.223 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001092/0.3938, allocations: 198.4 kB / 397.2 MB, free: 1.059 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.361e-05/0.3939, allocations: 24.5 kB / 397.3 MB, free: 1.039 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.326e-05/0.3939, allocations: 355.8 kB / 397.6 MB, free: 0.6992 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005883/0.3945, allocations: 465.8 kB / 398.1 MB, free: 476 kB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009075/0.3954, allocations: 1.091 MB / 399.1 MB, free: 15.34 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008277/0.3963, allocations: 0.673 MB / 399.8 MB, free: 15 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.466e-06/0.3963, allocations: 3.781 kB / 399.8 MB, free: 15 MB / 318.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002388/0.3987, allocations: 1.691 MB / 401.5 MB, free: 14.25 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/0.3987, allocations: 13.69 kB / 401.5 MB, free: 14.25 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.076e-05/0.3988, allocations: 24.5 kB / 401.6 MB, free: 14.25 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000716/0.3995, allocations: 183 kB / 401.7 MB, free: 14.16 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008397/0.4003, allocations: 282.9 kB / 402 MB, free: 14.12 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002081/0.4024, allocations: 2.182 MB / 404.2 MB, free: 12.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001049/0.4035, allocations: 98.55 kB / 404.3 MB, free: 12.17 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.487e-05/0.4036, allocations: 64 kB / 404.3 MB, free: 12.11 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001095/0.4047, allocations: 0.7013 MB / 405 MB, free: 11.42 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002106/0.4049, allocations: 134.4 kB / 405.2 MB, free: 11.29 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001339/0.4063, allocations: 0.8507 MB / 406 MB, free: 10.42 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.4063, allocations: 7.953 kB / 406 MB, free: 10.41 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.4063, allocations: 7.938 kB / 406 MB, free: 10.41 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.4063, allocations: 3.984 kB / 406 MB, free: 10.4 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003768/0.4101, allocations: 2.512 MB / 408.6 MB, free: 7.82 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.4101, allocations: 4 kB / 408.6 MB, free: 7.816 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003604/0.4105, allocations: 104.2 kB / 408.7 MB, free: 7.715 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006332/0.4111, allocations: 152.6 kB / 408.8 MB, free: 7.562 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.722e-05/0.4111, allocations: 19.98 kB / 408.8 MB, free: 7.543 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00199/0.4131, allocations: 2.115 MB / 410.9 MB, free: 5.297 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.4132, allocations: 8.031 kB / 411 MB, free: 5.289 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001952/0.4151, allocations: 1.478 MB / 412.4 MB, free: 3.711 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005647/0.4157, allocations: 287.5 kB / 412.7 MB, free: 3.41 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001551/0.4159, allocations: 16 kB / 412.7 MB, free: 3.395 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005873/0.4165, allocations: 56.02 kB / 412.8 MB, free: 3.34 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.4166, allocations: 43.89 kB / 412.8 MB, free: 3.297 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.903e-05/0.4166, allocations: 20 kB / 412.8 MB, free: 3.277 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001537/0.4182, allocations: 1.028 MB / 413.9 MB, free: 2.246 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.553e-06/0.4182, allocations: 0 / 413.9 MB, free: 2.246 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001416/0.4196, allocations: 353.6 kB / 414.2 MB, free: 1.902 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003588/0.42, allocations: 154.3 kB / 414.4 MB, free: 1.75 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001812/0.4218, allocations: 1.162 MB / 415.5 MB, free: 0.582 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.4218, allocations: 0 / 415.5 MB, free: 0.582 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007634/0.4226, allocations: 0.5146 MB / 416 MB, free: 56 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001312/0.4239, allocations: 356.1 kB / 416.4 MB, free: 15.71 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005105/0.429, allocations: 3.755 MB / 420.2 MB, free: 11.89 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001305/0.4303, allocations: 1.737 MB / 421.9 MB, free: 10.12 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0008888/0.4312, allocations: 325.8 kB / 422.2 MB, free: 9.797 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001971/0.4314, allocations: 87.42 kB / 422.3 MB, free: 9.715 MB / 334.1 MB Notification: Performance of SimCode: time 5.82e-07/0.4314, allocations: 0 / 422.3 MB, free: 9.715 MB / 334.1 MB Notification: Performance of Templates: time 0.0286/0.46, allocations: 17.14 MB / 439.4 MB, free: 8.797 MB / 350.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","../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches