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.0008646/0.0008645, allocations: 95.66 kB / 16.3 MB, free: 5.656 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.0008424/0.0008424, allocations: 185.7 kB / 17.2 MB, free: 5.59 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.343/1.343, allocations: 223.2 MB / 241.1 MB, free: 14.61 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002524/0.0002524, allocations: 8 kB / 300.7 MB, free: 6.199 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09438/0.09465, allocations: 50.41 MB / 351.1 MB, free: 3.781 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.004912/0.09961, allocations: 4.784 MB / 355.9 MB, free: 14.97 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003226/0.1029, allocations: 2 MB / 357.9 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005266/0.1034, allocations: 31.88 kB / 358 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000699/0.1041, allocations: 314.4 kB / 358.3 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001068/0.1052, allocations: 466.5 kB / 358.7 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002928/0.1055, allocations: 135.8 kB / 358.9 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001444/0.107, allocations: 1.412 MB / 360.3 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001429/0.1084, allocations: 1.413 MB / 361.7 MB, free: 9.168 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008656/0.1093, allocations: 0.7046 MB / 362.4 MB, free: 8.461 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009134/0.1102, allocations: 0.8599 MB / 363.2 MB, free: 7.598 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001627/0.1104, allocations: 120 kB / 363.4 MB, free: 7.48 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003866/0.1108, allocations: 183.9 kB / 363.5 MB, free: 7.301 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003777/0.1112, allocations: 498.5 kB / 364 MB, free: 6.812 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003485/0.1115, allocations: 440.6 kB / 364.5 MB, free: 6.375 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002174/0.1137, allocations: 3.081 MB / 367.5 MB, free: 3.285 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1137, allocations: 0 / 367.5 MB, free: 3.285 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1137, allocations: 3.938 kB / 367.5 MB, free: 3.281 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.886e-05/0.1138, allocations: 0 / 367.5 MB, free: 3.281 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.003529/0.1173, allocations: 2.038 MB / 369.6 MB, free: 1.188 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.1174, allocations: 15.97 kB / 369.6 MB, free: 1.172 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006336/0.118, allocations: 253.3 kB / 369.8 MB, free: 0.9219 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1917/0.3097, allocations: 1.265 MB / 371.1 MB, free: 22.22 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001298/0.3099, allocations: 131.2 kB / 371.2 MB, free: 22.22 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003288/0.3102, allocations: 173.6 kB / 371.4 MB, free: 22.22 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004685/0.3149, allocations: 2.529 MB / 373.9 MB, free: 21.67 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.148e-05/0.3149, allocations: 5.484 kB / 373.9 MB, free: 21.67 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001592/0.3151, allocations: 69.86 kB / 374 MB, free: 21.62 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001298/0.3152, allocations: 98.41 kB / 374.1 MB, free: 21.61 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003515/0.3188, allocations: 2.108 MB / 376.2 MB, free: 20.83 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01182/0.3306, allocations: 7.494 MB / 383.7 MB, free: 16.91 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001441/0.3321, allocations: 1.267 MB / 385 MB, free: 15.86 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000221/0.3323, allocations: 119.7 kB / 385.1 MB, free: 15.75 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/0.3323, allocations: 40.11 kB / 385.1 MB, free: 15.71 MB / 302.1 MB Notification: Performance of pre-optimization done (n=52): time 2.644e-06/0.3324, allocations: 0 / 385.1 MB, free: 15.71 MB / 302.1 MB Notification: Performance of matching and sorting (n=53): time 0.004091/0.3365, allocations: 2.283 MB / 387.4 MB, free: 14.26 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.3365, allocations: 88.36 kB / 387.5 MB, free: 14.16 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002126/0.3386, allocations: 1.494 MB / 389 MB, free: 13.34 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.189e-05/0.3387, allocations: 37.27 kB / 389 MB, free: 13.3 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006462/0.3393, allocations: 0.9742 MB / 390 MB, free: 12.45 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001494/0.3395, allocations: 196.2 kB / 390.2 MB, free: 12.28 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.425e-05/0.3396, allocations: 21.5 kB / 390.2 MB, free: 12.27 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.3397, allocations: 355.9 kB / 390.6 MB, free: 11.93 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007521/0.3404, allocations: 471.6 kB / 391 MB, free: 11.69 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008988/0.3413, allocations: 1.087 MB / 392.1 MB, free: 10.56 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008927/0.3422, allocations: 0.6745 MB / 392.8 MB, free: 10.2 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.261e-05/0.3423, allocations: 6.344 kB / 392.8 MB, free: 10.2 MB / 302.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002888/0.3452, allocations: 1.69 MB / 394.5 MB, free: 9.301 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.119e-05/0.3452, allocations: 14.56 kB / 394.5 MB, free: 9.301 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.902e-05/0.3452, allocations: 22.97 kB / 394.5 MB, free: 9.301 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008044/0.346, allocations: 189.2 kB / 394.7 MB, free: 9.211 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001088/0.3471, allocations: 287.4 kB / 395 MB, free: 9.145 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002303/0.3495, allocations: 2.189 MB / 397.2 MB, free: 7.223 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001296/0.3508, allocations: 92.45 kB / 397.3 MB, free: 7.176 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001336/0.3509, allocations: 64.44 kB / 397.3 MB, free: 7.168 MB / 302.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.001392/0.3523, allocations: 0.7101 MB / 398 MB, free: 6.68 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002738/0.3526, allocations: 129.5 kB / 398.2 MB, free: 6.617 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001344/0.354, allocations: 0.8438 MB / 399 MB, free: 5.836 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.354, allocations: 8 kB / 399 MB, free: 5.828 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.354, allocations: 0 / 399 MB, free: 5.828 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.354, allocations: 7.984 kB / 399 MB, free: 5.82 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003441/0.3574, allocations: 2.514 MB / 401.5 MB, free: 3.219 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.3575, allocations: 7.984 kB / 401.5 MB, free: 3.211 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003544/0.3578, allocations: 100.2 kB / 401.6 MB, free: 3.113 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006083/0.3584, allocations: 160.7 kB / 401.8 MB, free: 2.953 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.213e-05/0.3585, allocations: 15.94 kB / 401.8 MB, free: 2.938 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001649/0.3601, allocations: 2.124 MB / 403.9 MB, free: 0.6836 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.042e-06/0.3602, allocations: 8.062 kB / 403.9 MB, free: 0.6758 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00185/0.362, allocations: 1.472 MB / 405.4 MB, free: 15.1 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005138/0.3625, allocations: 279.4 kB / 405.7 MB, free: 14.8 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001536/0.3627, allocations: 23.94 kB / 405.7 MB, free: 14.78 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005774/0.3633, allocations: 52.03 kB / 405.8 MB, free: 14.73 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001275/0.3634, allocations: 55.89 kB / 405.8 MB, free: 14.68 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.147e-05/0.3635, allocations: 16 kB / 405.8 MB, free: 14.66 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001431/0.3649, allocations: 1.024 MB / 406.9 MB, free: 13.63 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.505e-06/0.3649, allocations: 0 / 406.9 MB, free: 13.63 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001496/0.3664, allocations: 351.8 kB / 407.2 MB, free: 13.29 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.0004318/0.3669, allocations: 158.4 kB / 407.4 MB, free: 13.14 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001924/0.3688, allocations: 1.146 MB / 408.5 MB, free: 12 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.3688, allocations: 192 / 408.5 MB, free: 12 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007861/0.3696, allocations: 0.5187 MB / 409 MB, free: 11.46 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001328/0.371, allocations: 372.3 kB / 409.4 MB, free: 11.11 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005424/0.3764, allocations: 3.751 MB / 413.1 MB, free: 7.289 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001313/0.3777, allocations: 1.737 MB / 414.9 MB, free: 5.516 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0008987/0.3786, allocations: 327.2 kB / 415.2 MB, free: 5.191 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002024/0.3788, allocations: 87.44 kB / 415.3 MB, free: 5.105 MB / 318.1 MB Notification: Performance of SimCode: time 8.82e-07/0.3788, allocations: 2.078 kB / 415.3 MB, free: 5.105 MB / 318.1 MB Notification: Performance of Templates: time 0.03166/0.4105, allocations: 17.13 MB / 432.4 MB, free: 4.211 MB / 334.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","../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches