Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.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_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,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",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,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",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002044/0.002044, allocations: 181.1 kB / 17.41 MB, free: 4.383 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.187/3.187, allocations: 205.4 MB / 223.6 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001206/0.001206, allocations: 80.94 kB / 271.9 MB, free: 8.262 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005999/0.0006001, allocations: 8 kB / 328.2 MB, free: 15.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4646/0.4653, allocations: 47.57 MB / 375.7 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2037/0.669, allocations: 102.9 MB / 478.6 MB, free: 9.699 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003442/0.6694, allocations: 87.95 kB / 478.7 MB, free: 9.613 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5436/1.213, allocations: 40.96 MB / 0.5075 GB, free: 96.02 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.616e-06/1.213, allocations: 0 / 0.5075 GB, free: 96.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002082/1.213, allocations: 51.16 kB / 0.5075 GB, free: 96.01 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.008727/1.222, allocations: 2.191 MB / 0.5097 GB, free: 94.95 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.996e-05/1.222, allocations: 11.72 kB / 0.5097 GB, free: 94.95 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001757/1.224, allocations: 265.8 kB / 0.5099 GB, free: 94.83 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005351/1.229, allocations: 1.464 MB / 0.5114 GB, free: 94.38 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002154/1.23, allocations: 136.7 kB / 0.5115 GB, free: 94.37 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009049/1.231, allocations: 181 kB / 0.5117 GB, free: 94.37 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007276/1.238, allocations: 2.401 MB / 0.514 GB, free: 93.45 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.805e-05/1.238, allocations: 15.66 kB / 0.514 GB, free: 93.45 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003199/1.238, allocations: 83.14 kB / 0.5141 GB, free: 93.38 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001455/1.239, allocations: 76.38 kB / 0.5142 GB, free: 93.38 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007379/1.246, allocations: 1.933 MB / 0.5161 GB, free: 92.65 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02253/1.269, allocations: 7.507 MB / 0.5234 GB, free: 88.72 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003076/1.272, allocations: 1.308 MB / 0.5247 GB, free: 88.03 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002916/1.275, allocations: 0.847 MB / 0.5255 GB, free: 87.77 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004056/1.275, allocations: 139.8 kB / 0.5256 GB, free: 87.67 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.624e-05/1.275, allocations: 43.16 kB / 0.5257 GB, free: 87.62 MB / 378.7 MB Notification: Performance of pre-optimization done (n=87): time 5.25e-06/1.275, allocations: 0 / 0.5257 GB, free: 87.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=103): time 0.01523/1.29, allocations: 5.035 MB / 0.5306 GB, free: 84.39 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.18e-05/1.291, allocations: 64.41 kB / 0.5306 GB, free: 84.31 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004156/1.295, allocations: 1.333 MB / 0.5319 GB, free: 82.97 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003737/1.295, allocations: 45.7 kB / 0.532 GB, free: 82.92 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008271/1.296, allocations: 0.8963 MB / 0.5329 GB, free: 82.02 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005611/1.297, allocations: 355.2 kB / 0.5332 GB, free: 81.67 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001231/1.297, allocations: 28 kB / 0.5332 GB, free: 81.64 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.00013/1.297, allocations: 353.9 kB / 0.5336 GB, free: 81.29 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001673/1.299, allocations: 0.6389 MB / 0.5342 GB, free: 80.66 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001815/1.3, allocations: 0.9376 MB / 0.5351 GB, free: 79.6 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003443/1.304, allocations: 1.667 MB / 0.5367 GB, free: 77.81 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.087e-06/1.304, allocations: 8 kB / 0.5367 GB, free: 77.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.007003/1.311, allocations: 2.453 MB / 0.5391 GB, free: 75.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.335e-05/1.311, allocations: 8 kB / 0.5391 GB, free: 75.33 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.406e-05/1.311, allocations: 8 kB / 0.5392 GB, free: 75.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002942/1.314, allocations: 0.7781 MB / 0.5399 GB, free: 74.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001559/1.316, allocations: 239.7 kB / 0.5401 GB, free: 74.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01685/1.332, allocations: 8.581 MB / 0.5485 GB, free: 65.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002311/1.335, allocations: 79.92 kB / 0.5486 GB, free: 65.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002591/1.335, allocations: 51.92 kB / 0.5487 GB, free: 65.34 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (111): * Single equations (assignments): 109 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(6,77.8%) 35} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002243/1.337, allocations: 0.6263 MB / 0.5493 GB, free: 64.7 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006383/1.338, allocations: 146.2 kB / 0.5494 GB, free: 64.55 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005298/1.343, allocations: 1.936 MB / 0.5513 GB, free: 62.59 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-05/1.343, allocations: 11.94 kB / 0.5513 GB, free: 62.58 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.121e-05/1.343, allocations: 8 kB / 0.5513 GB, free: 62.57 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.754e-05/1.343, allocations: 3.984 kB / 0.5513 GB, free: 62.57 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01286/1.356, allocations: 4.041 MB / 0.5553 GB, free: 58.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.514e-05/1.356, allocations: 4 kB / 0.5553 GB, free: 58.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001401/1.358, allocations: 196 kB / 0.5555 GB, free: 58.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001938/1.36, allocations: 470.5 kB / 0.5559 GB, free: 57.8 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000149/1.36, allocations: 27.98 kB / 0.5559 GB, free: 57.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008847/1.369, allocations: 6.191 MB / 0.562 GB, free: 51.19 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.364e-05/1.369, allocations: 7.969 kB / 0.562 GB, free: 51.18 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008147/1.377, allocations: 2.838 MB / 0.5648 GB, free: 48.29 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001682/1.379, allocations: 363.2 kB / 0.5651 GB, free: 47.91 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008458/1.38, allocations: 23.98 kB / 0.5651 GB, free: 47.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001995/1.382, allocations: 75.92 kB / 0.5652 GB, free: 47.82 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004163/1.382, allocations: 92.59 kB / 0.5653 GB, free: 47.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001699/1.382, allocations: 35.98 kB / 0.5653 GB, free: 47.7 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.003368/1.386, allocations: 0.923 MB / 0.5662 GB, free: 46.77 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.01e-07/1.386, allocations: 3.938 kB / 0.5662 GB, free: 46.77 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003961/1.39, allocations: 471.9 kB / 0.5667 GB, free: 46.3 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.inertiaRotor.phi,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.w) * 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 (88): * Single equations (assignments): 84 * 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: 3 * 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: 3 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001034/1.391, allocations: 297.1 kB / 0.567 GB, free: 46.04 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005902/1.397, allocations: 2.08 MB / 0.569 GB, free: 43.93 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.268e-05/1.397, allocations: 4 kB / 0.569 GB, free: 43.92 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003318/1.4, allocations: 1.375 MB / 0.5703 GB, free: 42.49 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004317/1.404, allocations: 360.5 kB / 0.5707 GB, free: 42.15 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01162/1.416, allocations: 4.83 MB / 0.5754 GB, free: 37.26 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002247/1.418, allocations: 1.677 MB / 0.577 GB, free: 35.55 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008534/1.419, allocations: 99.42 kB / 0.5771 GB, free: 35.45 MB / 378.7 MB Notification: Performance of SimCode: time 1.573e-06/1.419, allocations: 4 kB / 0.5771 GB, free: 35.45 MB / 378.7 MB Notification: Performance of Templates: time 0.1024/1.522, allocations: 53.04 MB / 0.6289 GB, free: 14.3 MB / 410.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_Initialize/AIMC_Initialize.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches