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_Inverter.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_Inverter,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|vfController.x",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter,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|vfController.x",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001545/0.001545, allocations: 185.9 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.015/2.015, allocations: 205.4 MB / 222.5 MB, free: 9.148 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.001141/0.001141, allocations: 98.52 kB / 270.9 MB, free: 8.391 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004116/0.0004114, allocations: 8 kB / 327 MB, free: 228 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3302/0.3306, allocations: 47.58 MB / 374.5 MB, free: 45.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1658/0.4965, allocations: 102.2 MB / 476.8 MB, free: 10.51 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003272/0.4969, allocations: 91.95 kB / 476.9 MB, free: 10.42 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4454/0.9423, allocations: 40.14 MB / 0.5049 GB, free: 95.82 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.9424, allocations: 0 / 0.5049 GB, free: 95.82 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001888/0.9426, allocations: 49.19 kB / 0.5049 GB, free: 95.81 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: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.007266/0.9498, allocations: 2.144 MB / 0.507 GB, free: 94.79 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.9499, allocations: 9.562 kB / 0.507 GB, free: 94.79 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001448/0.9514, allocations: 251.5 kB / 0.5073 GB, free: 94.68 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004279/0.9557, allocations: 1.364 MB / 0.5086 GB, free: 94.29 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000136/0.9559, allocations: 132 kB / 0.5087 GB, free: 94.29 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00051/0.9564, allocations: 179.5 kB / 0.5089 GB, free: 94.29 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006188/0.9626, allocations: 2.344 MB / 0.5112 GB, free: 93.65 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.431e-05/0.9627, allocations: 11.8 kB / 0.5112 GB, free: 93.64 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002715/0.963, allocations: 75.73 kB / 0.5113 GB, free: 93.59 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001154/0.9631, allocations: 88.92 kB / 0.5114 GB, free: 93.58 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005589/0.9687, allocations: 1.882 MB / 0.5132 GB, free: 92.88 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0176/0.9864, allocations: 7.173 MB / 0.5202 GB, free: 89.13 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00289/0.9893, allocations: 1.33 MB / 0.5215 GB, free: 88.43 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003751/0.9898, allocations: 133.1 kB / 0.5216 GB, free: 88.33 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.9898, allocations: 43.47 kB / 0.5217 GB, free: 88.28 MB / 378.7 MB Notification: Performance of pre-optimization done (n=90): time 3.637e-06/0.9898, allocations: 3.969 kB / 0.5217 GB, free: 88.28 MB / 378.7 MB Notification: Performance of matching and sorting (n=113): time 0.0263/1.016, allocations: 7.2 MB / 0.5287 GB, free: 85.02 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.959e-05/1.016, allocations: 64.41 kB / 0.5288 GB, free: 84.95 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002063/1.018, allocations: 1.04 MB / 0.5298 GB, free: 84.02 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002775/1.019, allocations: 45.7 kB / 0.5298 GB, free: 83.97 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005266/1.019, allocations: 0.8416 MB / 0.5307 GB, free: 83.12 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003792/1.02, allocations: 392.8 kB / 0.531 GB, free: 82.74 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001392/1.02, allocations: 32 kB / 0.5311 GB, free: 82.71 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001101/1.02, allocations: 362.7 kB / 0.5314 GB, free: 82.35 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001693/1.021, allocations: 0.6858 MB / 0.5321 GB, free: 81.66 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001795/1.023, allocations: 0.9775 MB / 0.533 GB, free: 80.56 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001912/1.025, allocations: 0.8306 MB / 0.5338 GB, free: 79.73 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.697e-06/1.025, allocations: 4 kB / 0.5338 GB, free: 79.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.006142/1.031, allocations: 2.336 MB / 0.5361 GB, free: 77.37 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.892e-05/1.032, allocations: 11.98 kB / 0.5361 GB, free: 77.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.756e-05/1.032, allocations: 11.95 kB / 0.5361 GB, free: 77.35 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002613/1.034, allocations: 0.6452 MB / 0.5368 GB, free: 76.69 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002039/1.036, allocations: 279.6 kB / 0.537 GB, free: 76.42 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01115/1.047, allocations: 6.517 MB / 0.5434 GB, free: 69.63 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001922/1.049, allocations: 99.19 kB / 0.5435 GB, free: 69.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001928/1.05, allocations: 52 kB / 0.5436 GB, free: 69.49 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * 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 (133): * Single equations (assignments): 129 * 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: 2 * 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: 2 {(5,76.0%) 23,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001522/1.051, allocations: 0.6048 MB / 0.5441 GB, free: 68.88 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004667/1.052, allocations: 142.3 kB / 0.5443 GB, free: 68.73 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006578/1.058, allocations: 2.275 MB / 0.5465 GB, free: 66.43 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.898e-05/1.058, allocations: 12 kB / 0.5465 GB, free: 66.42 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.284e-05/1.058, allocations: 11.94 kB / 0.5465 GB, free: 66.41 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.691e-05/1.058, allocations: 3.984 kB / 0.5465 GB, free: 66.41 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01217/1.071, allocations: 4.431 MB / 0.5509 GB, free: 61.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.446e-05/1.071, allocations: 4 kB / 0.5509 GB, free: 61.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001462/1.072, allocations: 180 kB / 0.551 GB, free: 61.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003282/1.075, allocations: 0.7263 MB / 0.5517 GB, free: 60.99 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002425/1.076, allocations: 31.98 kB / 0.5518 GB, free: 60.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01315/1.089, allocations: 8.3 MB / 0.5599 GB, free: 52.27 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.334e-06/1.089, allocations: 7.938 kB / 0.5599 GB, free: 52.27 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008357/1.097, allocations: 3.368 MB / 0.5632 GB, free: 48.8 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001166/1.098, allocations: 359.3 kB / 0.5635 GB, free: 48.43 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003445/1.099, allocations: 27.98 kB / 0.5635 GB, free: 48.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001474/1.1, allocations: 91.28 kB / 0.5636 GB, free: 48.32 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003592/1.101, allocations: 88.86 kB / 0.5637 GB, free: 48.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000118/1.101, allocations: 35.95 kB / 0.5637 GB, free: 48.19 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001693/1.103, allocations: 0.8069 MB / 0.5645 GB, free: 47.38 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.02e-07/1.103, allocations: 0 / 0.5645 GB, free: 47.38 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002347/1.105, allocations: 479.9 kB / 0.565 GB, free: 46.91 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.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,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 (83): * Single equations (assignments): 79 * 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 {(7,59.2%) 21,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006821/1.106, allocations: 310.2 kB / 0.5653 GB, free: 46.64 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00574/1.111, allocations: 2.311 MB / 0.5675 GB, free: 44.26 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.758e-06/1.111, allocations: 4.25 kB / 0.5675 GB, free: 44.25 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004206/1.116, allocations: 1.597 MB / 0.5691 GB, free: 42.6 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002857/1.119, allocations: 346.5 kB / 0.5694 GB, free: 42.28 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009661/1.128, allocations: 4.785 MB / 0.5741 GB, free: 37.46 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001535/1.13, allocations: 1.669 MB / 0.5757 GB, free: 35.76 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006699/1.131, allocations: 103.4 kB / 0.5758 GB, free: 35.66 MB / 378.7 MB Notification: Performance of SimCode: time 1.493e-06/1.131, allocations: 4 kB / 0.5758 GB, free: 35.65 MB / 378.7 MB Notification: Performance of Templates: time 0.09618/1.227, allocations: 57.42 MB / 0.6319 GB, free: 10.12 MB / 410.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter_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_Inverter/AIMC_Inverter.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches