Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001537/0.001537, allocations: 178.7 kB / 8.476 MB, free: 1.871 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.124/1.124, allocations: 205.2 MB / 214.1 MB, free: 5.238 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008637/0.0008637, allocations: 90.28 kB / 262.1 MB, free: 5.273 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.581e-06/5.681e-06, allocations: 0 / 315 MB, free: 41.51 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06295/0.06297, allocations: 47.57 MB / 362.5 MB, free: 9.977 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2366/0.2996, allocations: 110.9 MB / 473.5 MB, free: 14.09 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002259/0.2999, allocations: 82.39 kB / 473.5 MB, free: 14.05 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.2287/0.5286, allocations: 92.3 MB / 0.5526 GB, free: 8.812 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000272/0.5289, allocations: 107.8 kB / 0.5527 GB, free: 8.707 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.008243/0.5372, allocations: 3.537 MB / 0.5561 GB, free: 5.109 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.5372, allocations: 8.031 kB / 0.5561 GB, free: 5.102 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00172/0.5389, allocations: 0.5102 MB / 0.5566 GB, free: 4.586 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004877/0.5438, allocations: 2.572 MB / 0.5592 GB, free: 1.965 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001107/0.544, allocations: 112 kB / 0.5593 GB, free: 1.855 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004566/0.5444, allocations: 211.9 kB / 0.5595 GB, free: 1.648 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006297/0.5507, allocations: 3.794 MB / 0.5632 GB, free: 13.85 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006811/0.5576, allocations: 4.408 MB / 0.5675 GB, free: 9.293 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.26e-05/0.5577, allocations: 7.938 kB / 0.5675 GB, free: 9.285 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002896/0.558, allocations: 4 kB / 0.5675 GB, free: 9.281 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001665/0.5581, allocations: 179 kB / 0.5677 GB, free: 9.105 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1445/0.7026, allocations: 14.36 MB / 0.5817 GB, free: 125.3 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001881/0.7046, allocations: 1.635 MB / 0.5833 GB, free: 125.3 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002374/0.7069, allocations: 1.984 MB / 0.5852 GB, free: 125.3 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003283/0.7073, allocations: 153.1 kB / 0.5854 GB, free: 125.2 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.368e-05/0.7073, allocations: 58.94 kB / 0.5854 GB, free: 125.1 MB / 426.7 MB Notification: Performance of pre-optimization done (n=201): time 3.386e-06/0.7074, allocations: 0 / 0.5854 GB, free: 125.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=221): time 0.01414/0.7215, allocations: 7.377 MB / 0.5926 GB, free: 124.4 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.413e-05/0.7216, allocations: 74.44 kB / 0.5927 GB, free: 124.4 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002971/0.7246, allocations: 1.78 MB / 0.5944 GB, free: 124.1 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001615/0.7247, allocations: 25.7 kB / 0.5945 GB, free: 124.1 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005699/0.7253, allocations: 1.251 MB / 0.5957 GB, free: 123.6 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004703/0.7258, allocations: 0.7139 MB / 0.5964 GB, free: 123.2 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001181/0.7259, allocations: 0 / 0.5964 GB, free: 123.2 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.7261, allocations: 396.7 kB / 0.5968 GB, free: 122.9 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001421/0.7275, allocations: 1.247 MB / 0.598 GB, free: 122.9 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001619/0.7291, allocations: 1.667 MB / 0.5996 GB, free: 122.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001816/0.7309, allocations: 1.505 MB / 0.6011 GB, free: 122.4 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.103e-06/0.731, allocations: 3.594 kB / 0.6011 GB, free: 122.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.005161/0.7361, allocations: 3.795 MB / 0.6048 GB, free: 122.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.7362, allocations: 5.531 kB / 0.6048 GB, free: 122.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.778e-05/0.7362, allocations: 11.16 kB / 0.6048 GB, free: 122.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001711/0.7379, allocations: 0.7635 MB / 0.6055 GB, free: 122.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002143/0.74, allocations: 0.5237 MB / 0.606 GB, free: 122.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007189/0.7472, allocations: 8.065 MB / 0.6139 GB, free: 118.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00164/0.7489, allocations: 64.53 kB / 0.614 GB, free: 118.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001827/0.7491, allocations: 87.61 kB / 0.6141 GB, free: 118.3 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (248): * Single equations (assignments): 243 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 12,(1,100.0%) 1,(3,88.9%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003531/0.7495, allocations: 151.5 kB / 0.6142 GB, free: 118.2 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003961/0.7499, allocations: 248.8 kB / 0.6145 GB, free: 118.1 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005096/0.755, allocations: 3.539 MB / 0.6179 GB, free: 117.9 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.386e-05/0.755, allocations: 21.75 kB / 0.6179 GB, free: 117.9 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/0.755, allocations: 12.69 kB / 0.6179 GB, free: 117.9 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.687e-05/0.755, allocations: 14.91 kB / 0.618 GB, free: 117.9 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01057/0.7656, allocations: 7.393 MB / 0.6252 GB, free: 117.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.286e-06/0.7656, allocations: 3.5 kB / 0.6252 GB, free: 117.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001788/0.7674, allocations: 391.8 kB / 0.6255 GB, free: 117.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002055/0.7695, allocations: 0.8079 MB / 0.6263 GB, free: 117.3 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001414/0.7697, allocations: 25.84 kB / 0.6264 GB, free: 117.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008929/0.7786, allocations: 9.496 MB / 0.6356 GB, free: 111.3 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.7786, allocations: 3.969 kB / 0.6356 GB, free: 111.3 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006522/0.7851, allocations: 5.625 MB / 0.6411 GB, free: 108.9 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001283/0.7864, allocations: 0.609 MB / 0.6417 GB, free: 108.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003947/0.7868, allocations: 23.36 kB / 0.6418 GB, free: 108.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001312/0.7882, allocations: 80.42 kB / 0.6418 GB, free: 108.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002864/0.7885, allocations: 140.3 kB / 0.642 GB, free: 108.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000152/0.7886, allocations: 66.53 kB / 0.642 GB, free: 108.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.001791/0.7904, allocations: 1.34 MB / 0.6433 GB, free: 107.9 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002253/0.7927, allocations: 0.7066 MB / 0.644 GB, free: 107.9 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 (aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (178): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 12,(1,100.0%) 1,(3,88.9%) 25,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005235/0.7932, allocations: 347.9 kB / 0.6444 GB, free: 107.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00445/0.7977, allocations: 3.645 MB / 0.6479 GB, free: 106.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.7977, allocations: 3.938 kB / 0.6479 GB, free: 106.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002899/0.8006, allocations: 2.3 MB / 0.6502 GB, free: 105.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002845/0.8035, allocations: 0.5043 MB / 0.6507 GB, free: 105.1 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01132/0.8148, allocations: 6.44 MB / 0.6569 GB, free: 102.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002889/0.8177, allocations: 2.993 MB / 0.6599 GB, free: 101.7 MB / 426.7 MB Notification: Performance of SimCode: time 1.483e-06/0.8177, allocations: 0 / 0.6599 GB, free: 101.7 MB / 426.7 MB Notification: Performance of Templates: time 0.05483/0.8726, allocations: 37.96 MB / 0.6969 GB, free: 78.56 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_Transformer/AIMC_Transformer.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches