Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001326/0.001326, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001397/0.001397, allocations: 207.9 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.432/1.432, allocations: 227.7 MB / 247.7 MB, free: 10.32 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 69.23 kB / 307.9 MB, free: 0.4922 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09709/0.09904, allocations: 50.54 MB / 358.4 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.007853/0.1069, allocations: 5.912 MB / 364.4 MB, free: 7.988 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003954/0.1109, allocations: 2.126 MB / 366.5 MB, free: 5.855 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004772/0.1114, allocations: 39.81 kB / 366.5 MB, free: 5.816 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009496/0.1124, allocations: 393.7 kB / 366.9 MB, free: 5.43 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00133/0.1137, allocations: 0.5554 MB / 367.5 MB, free: 4.871 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004388/0.1142, allocations: 231.7 kB / 367.7 MB, free: 4.645 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002344/0.1166, allocations: 2.214 MB / 369.9 MB, free: 2.422 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00262/0.1192, allocations: 2.216 MB / 372.1 MB, free: 148 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1496/0.2688, allocations: 1.047 MB / 373.2 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001715/0.2705, allocations: 1.211 MB / 374.4 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004927/0.271, allocations: 287 kB / 374.7 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008723/0.2719, allocations: 377.4 kB / 375 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005639/0.2725, allocations: 0.708 MB / 375.7 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00135/0.2738, allocations: 1.228 MB / 377 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005025/0.2789, allocations: 3.756 MB / 380.7 MB, free: 9.91 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2789, allocations: 1.469 kB / 380.7 MB, free: 9.91 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2789, allocations: 0.5312 kB / 380.7 MB, free: 9.91 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.589e-05/0.279, allocations: 1.5 kB / 380.7 MB, free: 9.91 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.004683/0.2837, allocations: 2.387 MB / 383.1 MB, free: 8.52 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.2837, allocations: 9.094 kB / 383.1 MB, free: 8.52 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009142/0.2846, allocations: 285.3 kB / 383.4 MB, free: 8.406 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001814/0.2865, allocations: 1.323 MB / 384.7 MB, free: 7.688 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.216e-05/0.2866, allocations: 131.4 kB / 384.8 MB, free: 7.629 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002595/0.2868, allocations: 177.4 kB / 385 MB, free: 7.57 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003906/0.2907, allocations: 2.551 MB / 387.6 MB, free: 6.57 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.728e-05/0.2908, allocations: 0 / 387.6 MB, free: 6.57 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001836/0.291, allocations: 74.78 kB / 387.6 MB, free: 6.516 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001012/0.2911, allocations: 95.75 kB / 387.7 MB, free: 6.508 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003197/0.2943, allocations: 2.11 MB / 389.8 MB, free: 5.398 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00963/0.3039, allocations: 7.439 MB / 397.3 MB, free: 80 kB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001547/0.3055, allocations: 1.279 MB / 398.6 MB, free: 15.02 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006747/0.3062, allocations: 471.4 kB / 399 MB, free: 14.8 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002345/0.3065, allocations: 120.7 kB / 399.1 MB, free: 14.69 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.779e-05/0.3065, allocations: 42.56 kB / 399.2 MB, free: 14.64 MB / 318.1 MB Notification: Performance of pre-optimization done (n=52): time 2.535e-06/0.3065, allocations: 0 / 399.2 MB, free: 14.64 MB / 318.1 MB Notification: Performance of matching and sorting (n=53): time 0.004359/0.3109, allocations: 2.27 MB / 401.5 MB, free: 13.2 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.424e-05/0.311, allocations: 81.3 kB / 401.5 MB, free: 13.1 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002126/0.3131, allocations: 1.513 MB / 403 MB, free: 12.28 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.547e-05/0.3132, allocations: 35.77 kB / 403.1 MB, free: 12.24 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007914/0.314, allocations: 0.9721 MB / 404 MB, free: 11.39 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001824/0.3142, allocations: 201.8 kB / 404.2 MB, free: 11.22 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003289/0.3145, allocations: 237.4 kB / 404.5 MB, free: 11.08 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002075/0.3147, allocations: 364.2 kB / 404.8 MB, free: 10.73 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007305/0.3155, allocations: 457.8 kB / 405.3 MB, free: 10.43 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001346/0.3168, allocations: 1.096 MB / 406.4 MB, free: 9.031 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002133/0.319, allocations: 1.62 MB / 408 MB, free: 7.191 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.966e-06/0.319, allocations: 4 kB / 408 MB, free: 7.188 MB / 318.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.00297/0.322, allocations: 1.686 MB / 409.7 MB, free: 5.629 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.86e-05/0.322, allocations: 12 kB / 409.7 MB, free: 5.617 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.318e-05/0.322, allocations: 24 kB / 409.7 MB, free: 5.594 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008015/0.3229, allocations: 181.1 kB / 409.9 MB, free: 5.414 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008963/0.3238, allocations: 280 kB / 410.2 MB, free: 5.164 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002764/0.3265, allocations: 2.365 MB / 412.5 MB, free: 2.68 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001177/0.3277, allocations: 87.58 kB / 412.6 MB, free: 2.594 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000114/0.3279, allocations: 68 kB / 412.7 MB, free: 2.527 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.001238/0.3291, allocations: 0.7067 MB / 413.4 MB, free: 1.832 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003268/0.3294, allocations: 130.5 kB / 413.5 MB, free: 1.703 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001623/0.3311, allocations: 0.8488 MB / 414.4 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/0.3311, allocations: 8 kB / 414.4 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.3311, allocations: 0 / 414.4 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/0.3311, allocations: 4.047 kB / 414.4 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004544/0.3357, allocations: 2.502 MB / 416.9 MB, free: 14.28 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.3357, allocations: 0 / 416.9 MB, free: 14.28 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004001/0.3361, allocations: 97.19 kB / 417 MB, free: 14.19 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006572/0.3368, allocations: 151.4 kB / 417.1 MB, free: 14.04 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.242e-05/0.3368, allocations: 19.98 kB / 417.1 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00256/0.3394, allocations: 2.297 MB / 419.4 MB, free: 11.6 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/0.3394, allocations: 7.938 kB / 419.5 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002316/0.3417, allocations: 1.315 MB / 420.8 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006849/0.3424, allocations: 283.4 kB / 421 MB, free: 9.934 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001743/0.3426, allocations: 23.97 kB / 421.1 MB, free: 9.91 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006136/0.3433, allocations: 48.03 kB / 421.1 MB, free: 9.863 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/0.3434, allocations: 43.41 kB / 421.2 MB, free: 9.824 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.234e-05/0.3434, allocations: 24 kB / 421.2 MB, free: 9.801 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001654/0.3451, allocations: 1.048 MB / 422.2 MB, free: 8.75 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3451, allocations: 0 / 422.2 MB, free: 8.75 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001519/0.3466, allocations: 348 kB / 422.6 MB, free: 8.41 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.000509/0.3472, allocations: 191.8 kB / 422.8 MB, free: 8.23 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002345/0.3495, allocations: 1.252 MB / 424 MB, free: 7.039 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.3495, allocations: 0 / 424 MB, free: 7.039 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008559/0.3504, allocations: 0.5104 MB / 424.5 MB, free: 6.531 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001814/0.3522, allocations: 365 kB / 424.9 MB, free: 6.184 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005913/0.3581, allocations: 3.231 MB / 428.1 MB, free: 2.895 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001534/0.3597, allocations: 1.669 MB / 429.8 MB, free: 1.195 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003777/0.3601, allocations: 91.44 kB / 429.9 MB, free: 1.105 MB / 334.1 MB Notification: Performance of SimCode: time 9.02e-07/0.3601, allocations: 0 / 429.9 MB, free: 1.105 MB / 334.1 MB Notification: Performance of Templates: time 0.04635/0.4065, allocations: 32.27 MB / 462.1 MB, free: 0.957 MB / 366.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches