Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001281/0.001281, allocations: 108.3 kB / 18.4 MB, free: 4.691 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.001218/0.001218, allocations: 180.2 kB / 19.33 MB, free: 3.777 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.211/1.211, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001117/0.001117, allocations: 47.94 kB / 329.2 MB, free: 3.312 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07201/0.07314, allocations: 46.62 MB / 375.8 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.1555/0.2286, allocations: 5.85 MB / 381.7 MB, free: 9.715 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003427/0.2321, allocations: 2.137 MB / 383.8 MB, free: 9.465 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004928/0.2326, allocations: 31.25 kB / 383.8 MB, free: 9.457 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008709/0.2335, allocations: 397.5 kB / 384.2 MB, free: 9.293 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001156/0.2347, allocations: 0.5517 MB / 384.8 MB, free: 9.02 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003872/0.2351, allocations: 229.4 kB / 385 MB, free: 9.012 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001863/0.237, allocations: 2.294 MB / 387.3 MB, free: 7.867 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001734/0.2387, allocations: 1.891 MB / 389.2 MB, free: 7.102 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001769/0.2405, allocations: 1.039 MB / 390.2 MB, free: 6.605 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001267/0.2418, allocations: 1.211 MB / 391.4 MB, free: 6.012 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003258/0.2421, allocations: 288.5 kB / 391.7 MB, free: 6.012 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006263/0.2427, allocations: 370.6 kB / 392.1 MB, free: 5.988 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005097/0.2432, allocations: 0.7108 MB / 392.8 MB, free: 5.57 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001052/0.2443, allocations: 1.228 MB / 394 MB, free: 4.777 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003194/0.2475, allocations: 3.771 MB / 397.8 MB, free: 3.492 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.2475, allocations: 4 kB / 397.8 MB, free: 3.488 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.2475, allocations: 3.938 kB / 397.8 MB, free: 3.484 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.518e-05/0.2476, allocations: 4 kB / 397.8 MB, free: 3.48 MB / 318.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.003804/0.2514, allocations: 2.367 MB / 400.2 MB, free: 1.918 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.2514, allocations: 12.61 kB / 400.2 MB, free: 1.914 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006081/0.2521, allocations: 251.3 kB / 400.4 MB, free: 1.797 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001471/0.2535, allocations: 1.243 MB / 401.7 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.624e-05/0.2536, allocations: 134.7 kB / 401.8 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002301/0.2539, allocations: 174.9 kB / 402 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003658/0.2575, allocations: 2.545 MB / 404.5 MB, free: 15.3 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.961e-05/0.2576, allocations: 1.062 kB / 404.5 MB, free: 15.3 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001687/0.2577, allocations: 71.25 kB / 404.6 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.401e-05/0.2578, allocations: 95.45 kB / 404.7 MB, free: 15.23 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003232/0.2611, allocations: 2.107 MB / 406.8 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009918/0.271, allocations: 7.367 MB / 414.2 MB, free: 8.637 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001355/0.2724, allocations: 1.265 MB / 415.4 MB, free: 7.523 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00066/0.2731, allocations: 478.9 kB / 415.9 MB, free: 7.055 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001898/0.2733, allocations: 113.5 kB / 416 MB, free: 6.926 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/0.2733, allocations: 42.98 kB / 416 MB, free: 6.875 MB / 334.1 MB Notification: Performance of pre-optimization done (n=52): time 2.305e-06/0.2733, allocations: 4 kB / 416 MB, free: 6.871 MB / 334.1 MB Notification: Performance of matching and sorting (n=53): time 0.0039/0.2772, allocations: 2.261 MB / 418.3 MB, free: 4.527 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.194e-05/0.2773, allocations: 81.55 kB / 418.4 MB, free: 4.43 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001994/0.2793, allocations: 1.512 MB / 419.9 MB, free: 2.91 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.848e-05/0.2794, allocations: 33.7 kB / 419.9 MB, free: 2.871 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006557/0.28, allocations: 0.9788 MB / 420.9 MB, free: 1.879 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001418/0.2802, allocations: 193.4 kB / 421.1 MB, free: 1.688 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002983/0.2805, allocations: 246.5 kB / 421.3 MB, free: 1.441 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.2806, allocations: 357.9 kB / 421.7 MB, free: 1.086 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006503/0.2813, allocations: 458.3 kB / 422.1 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001002/0.2823, allocations: 1.098 MB / 423.2 MB, free: 15.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001699/0.284, allocations: 1.615 MB / 424.8 MB, free: 13.3 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.103e-05/0.284, allocations: 8 kB / 424.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002424/0.2865, allocations: 1.691 MB / 426.5 MB, free: 11.59 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/0.2865, allocations: 19.91 kB / 426.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.679e-05/0.2865, allocations: 20 kB / 426.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006547/0.2872, allocations: 176.7 kB / 426.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008162/0.288, allocations: 283.5 kB / 427 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002179/0.2902, allocations: 2.361 MB / 429.4 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00104/0.2913, allocations: 91.73 kB / 429.5 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.901e-05/0.2914, allocations: 68 kB / 429.5 MB, free: 8.441 MB / 350.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.0009366/0.2923, allocations: 0.7079 MB / 430.3 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002506/0.2926, allocations: 130.4 kB / 430.4 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001324/0.2939, allocations: 0.8373 MB / 431.2 MB, free: 6.746 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.2939, allocations: 7.984 kB / 431.2 MB, free: 6.738 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.2939, allocations: 4 kB / 431.2 MB, free: 6.734 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.2939, allocations: 0 / 431.2 MB, free: 6.734 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003622/0.2976, allocations: 2.498 MB / 433.7 MB, free: 4.145 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.2976, allocations: 4 kB / 433.7 MB, free: 4.141 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003597/0.2979, allocations: 99.81 kB / 433.8 MB, free: 4.043 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005868/0.2985, allocations: 156.9 kB / 434 MB, free: 3.887 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.578e-05/0.2986, allocations: 12 kB / 434 MB, free: 3.875 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001986/0.3006, allocations: 2.298 MB / 436.3 MB, free: 1.434 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.3006, allocations: 4 kB / 436.3 MB, free: 1.43 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001772/0.3024, allocations: 1.321 MB / 437.6 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005282/0.3029, allocations: 283.5 kB / 437.9 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002422/0.3032, allocations: 20.06 kB / 437.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006538/0.3038, allocations: 47.95 kB / 438 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001822/0.304, allocations: 55.81 kB / 438 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.113e-05/0.3041, allocations: 20 kB / 438 MB, free: 15.61 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001838/0.3059, allocations: 1.036 MB / 439.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3059, allocations: 0 / 439.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001631/0.3076, allocations: 348 kB / 439.4 MB, free: 14.23 MB / 366.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.0004272/0.308, allocations: 183 kB / 439.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001813/0.3098, allocations: 1.152 MB / 440.7 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.3098, allocations: 0 / 440.7 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007601/0.3106, allocations: 0.5122 MB / 441.3 MB, free: 12.36 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001615/0.3122, allocations: 369.7 kB / 441.6 MB, free: 12.01 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005088/0.3173, allocations: 3.168 MB / 444.8 MB, free: 8.77 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001316/0.3187, allocations: 1.658 MB / 446.4 MB, free: 7.082 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002407/0.3189, allocations: 95.44 kB / 446.5 MB, free: 6.988 MB / 366.1 MB Notification: Performance of SimCode: time 2.675e-06/0.3189, allocations: 3.938 kB / 446.5 MB, free: 6.984 MB / 366.1 MB Notification: Performance of Templates: time 0.03575/0.3547, allocations: 32.33 MB / 478.9 MB, free: 6.586 MB / 398.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches