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.000767/0.0007671, allocations: 96.48 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008901/0.0008902, allocations: 205.5 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.112/1.112, allocations: 227.7 MB / 246.8 MB, free: 11.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001769/0.0001769, allocations: 8.281 kB / 307.7 MB, free: 0.8242 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0703/0.07049, allocations: 51.53 MB / 359.3 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.004685/0.07519, allocations: 5.463 MB / 364.7 MB, free: 7.797 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002925/0.07812, allocations: 2.088 MB / 366.8 MB, free: 5.703 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005241/0.07866, allocations: 35.81 kB / 366.8 MB, free: 5.668 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007209/0.07939, allocations: 334.4 kB / 367.2 MB, free: 5.34 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00109/0.08049, allocations: 0.5052 MB / 367.7 MB, free: 4.832 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003558/0.08085, allocations: 199.8 kB / 367.9 MB, free: 4.637 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002134/0.083, allocations: 2.49 MB / 370.4 MB, free: 2.137 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001903/0.08491, allocations: 1.852 MB / 372.2 MB, free: 228 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1246/0.2095, allocations: 0.7676 MB / 373 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00109/0.2107, allocations: 1.012 MB / 374 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001855/0.2109, allocations: 122.8 kB / 374.1 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004321/0.2113, allocations: 225.2 kB / 374.3 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003818/0.2117, allocations: 0.5128 MB / 374.8 MB, free: 10.26 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008696/0.2126, allocations: 1.037 MB / 375.9 MB, free: 9.93 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002648/0.2152, allocations: 3.549 MB / 379.4 MB, free: 9.547 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2152, allocations: 1.188 kB / 379.4 MB, free: 9.547 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.2152, allocations: 2.781 kB / 379.4 MB, free: 9.547 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.485e-05/0.2153, allocations: 0 / 379.4 MB, free: 9.547 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.00282/0.2181, allocations: 2.039 MB / 381.5 MB, free: 8.531 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.986e-05/0.2181, allocations: 9.875 kB / 381.5 MB, free: 8.531 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007165/0.2189, allocations: 288.2 kB / 381.8 MB, free: 8.418 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001395/0.2203, allocations: 1.324 MB / 383.1 MB, free: 8.031 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.821e-05/0.2203, allocations: 131.5 kB / 383.2 MB, free: 8.027 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002267/0.2206, allocations: 178.7 kB / 383.4 MB, free: 8.023 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003196/0.2238, allocations: 2.552 MB / 385.9 MB, free: 7.469 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.982e-05/0.2238, allocations: 6.625 kB / 385.9 MB, free: 7.465 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001496/0.224, allocations: 73.19 kB / 386 MB, free: 7.41 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.191e-05/0.2241, allocations: 95.08 kB / 386.1 MB, free: 7.395 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002592/0.2267, allocations: 2.118 MB / 388.2 MB, free: 6.281 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007326/0.234, allocations: 7.517 MB / 395.7 MB, free: 0.9414 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001037/0.235, allocations: 1.278 MB / 397 MB, free: 15.89 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005949/0.2356, allocations: 481 kB / 397.5 MB, free: 15.66 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001728/0.2358, allocations: 115.1 kB / 397.6 MB, free: 15.56 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.2359, allocations: 39.06 kB / 397.6 MB, free: 15.52 MB / 318.1 MB Notification: Performance of pre-optimization done (n=52): time 1.854e-06/0.2359, allocations: 0 / 397.6 MB, free: 15.52 MB / 318.1 MB Notification: Performance of matching and sorting (n=53): time 0.002989/0.2389, allocations: 2.3 MB / 399.9 MB, free: 14.07 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.958e-05/0.2389, allocations: 83.3 kB / 400 MB, free: 13.97 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001578/0.2405, allocations: 1.517 MB / 401.5 MB, free: 13.15 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4e-05/0.2405, allocations: 36.89 kB / 401.6 MB, free: 13.11 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005329/0.2411, allocations: 0.9753 MB / 402.6 MB, free: 12.25 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001154/0.2412, allocations: 196.2 kB / 402.7 MB, free: 12.09 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/0.2413, allocations: 98.92 kB / 402.8 MB, free: 12.02 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.2414, allocations: 362.1 kB / 403.2 MB, free: 11.68 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005608/0.242, allocations: 465.9 kB / 403.6 MB, free: 11.45 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009139/0.2429, allocations: 1.095 MB / 404.7 MB, free: 10.33 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001538/0.2445, allocations: 1.635 MB / 406.4 MB, free: 8.578 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.546e-06/0.2445, allocations: 4 kB / 406.4 MB, free: 8.574 MB / 318.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002168/0.2467, allocations: 1.7 MB / 408.1 MB, free: 7 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.2467, allocations: 15.94 kB / 408.1 MB, free: 6.984 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.034e-05/0.2467, allocations: 24 kB / 408.1 MB, free: 6.961 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006461/0.2474, allocations: 186.1 kB / 408.3 MB, free: 6.777 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007278/0.2481, allocations: 282.8 kB / 408.6 MB, free: 6.523 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001787/0.2499, allocations: 2.159 MB / 410.7 MB, free: 4.25 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007344/0.2507, allocations: 95.58 kB / 410.8 MB, free: 4.156 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-05/0.2507, allocations: 68 kB / 410.9 MB, free: 4.09 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.0007332/0.2515, allocations: 0.7072 MB / 411.6 MB, free: 3.395 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001704/0.2517, allocations: 134.4 kB / 411.7 MB, free: 3.262 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001245/0.2529, allocations: 0.854 MB / 412.6 MB, free: 2.395 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.2529, allocations: 4 kB / 412.6 MB, free: 2.391 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.2529, allocations: 4.75 kB / 412.6 MB, free: 2.387 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.2529, allocations: 0 / 412.6 MB, free: 2.387 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00303/0.256, allocations: 2.515 MB / 415.1 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.256, allocations: 4 kB / 415.1 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000322/0.2563, allocations: 103.1 kB / 415.2 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005731/0.2569, allocations: 152.6 kB / 415.4 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.159e-05/0.2569, allocations: 12 kB / 415.4 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001657/0.2586, allocations: 2.097 MB / 417.5 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/0.2586, allocations: 8 kB / 417.5 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00157/0.2602, allocations: 1.34 MB / 418.8 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003183/0.2605, allocations: 283.5 kB / 419.1 MB, free: 11.65 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001372/0.2607, allocations: 15.98 kB / 419.1 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005302/0.2612, allocations: 59.22 kB / 419.2 MB, free: 11.58 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.929e-05/0.2613, allocations: 43.88 kB / 419.2 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.722e-05/0.2613, allocations: 20 kB / 419.2 MB, free: 11.52 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001132/0.2625, allocations: 1.048 MB / 420.3 MB, free: 10.47 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2625, allocations: 0 / 420.3 MB, free: 10.47 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009843/0.2635, allocations: 348 kB / 420.6 MB, free: 10.13 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.0003305/0.2638, allocations: 191.9 kB / 420.8 MB, free: 9.949 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00144/0.2653, allocations: 1.165 MB / 422 MB, free: 8.844 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2653, allocations: 4.938 kB / 422 MB, free: 8.84 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006622/0.2659, allocations: 0.5199 MB / 422.5 MB, free: 8.32 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00169/0.2677, allocations: 361.4 kB / 422.9 MB, free: 7.973 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004064/0.2717, allocations: 3.991 MB / 426.8 MB, free: 3.926 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001091/0.2728, allocations: 1.709 MB / 428.6 MB, free: 2.184 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0007095/0.2735, allocations: 327.3 kB / 428.9 MB, free: 1.859 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001743/0.2737, allocations: 87.42 kB / 429 MB, free: 1.773 MB / 334.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2737, allocations: 0 / 429 MB, free: 1.773 MB / 334.1 MB Notification: Performance of Templates: time 0.02359/0.2973, allocations: 17.6 MB / 446.6 MB, free: 408 kB / 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","/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