Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter") [: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.0025/0.0025, allocations: 178.9 kB / 8.151 MB, free: 2.184 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.784/1.784, allocations: 205.2 MB / 213.8 MB, free: 13.93 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.001253/0.001253, allocations: 90.59 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.153e-05/1.185e-05, allocations: 4 kB / 314.3 MB, free: 9.031 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2545/0.2545, allocations: 47.56 MB / 361.8 MB, free: 45.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1717/0.4263, allocations: 107.3 MB / 469.1 MB, free: 10.72 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003258/0.4267, allocations: 93.98 kB / 469.2 MB, free: 10.63 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.4739/0.9006, allocations: 78.23 MB / 0.5346 GB, free: 93.67 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000321/0.9009, allocations: 82.5 kB / 0.5347 GB, free: 93.65 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.01449/0.9154, allocations: 3.16 MB / 0.5378 GB, free: 92.06 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/0.9155, allocations: 11.78 kB / 0.5378 GB, free: 92.06 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006846/0.9224, allocations: 0.7209 MB / 0.5385 GB, free: 91.81 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01322/0.9356, allocations: 3.308 MB / 0.5417 GB, free: 90.18 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002381/0.9359, allocations: 100.4 kB / 0.5418 GB, free: 90.18 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001387/0.9373, allocations: 187.7 kB / 0.542 GB, free: 90.17 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01182/0.9492, allocations: 3.152 MB / 0.5451 GB, free: 88.8 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01455/0.9638, allocations: 3.648 MB / 0.5487 GB, free: 87.16 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001352/0.964, allocations: 5.312 kB / 0.5487 GB, free: 87.16 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005795/0.9646, allocations: 5.781 kB / 0.5487 GB, free: 87.15 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002071/0.9648, allocations: 149.9 kB / 0.5488 GB, free: 87.14 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03703/1.002, allocations: 12.71 MB / 0.5612 GB, free: 78.48 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002696/1.005, allocations: 1.051 MB / 0.5622 GB, free: 77.42 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003491/1.008, allocations: 1.336 MB / 0.5635 GB, free: 76.09 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01096/1.019, allocations: 3.985 MB / 0.5674 GB, free: 72.05 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.92e-05/1.019, allocations: 51.88 kB / 0.5675 GB, free: 72 MB / 394.7 MB Notification: Performance of pre-optimization done (n=148): time 5.931e-06/1.019, allocations: 0 / 0.5675 GB, free: 72 MB / 394.7 MB Notification: Performance of matching and sorting (n=151): time 0.01367/1.033, allocations: 4.339 MB / 0.5717 GB, free: 67.56 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/1.033, allocations: 68.72 kB / 0.5718 GB, free: 67.48 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00296/1.036, allocations: 1.216 MB / 0.573 GB, free: 66.26 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003314/1.036, allocations: 25.7 kB / 0.573 GB, free: 66.23 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005082/1.037, allocations: 1.11 MB / 0.5741 GB, free: 65.1 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006019/1.038, allocations: 0.4966 MB / 0.5746 GB, free: 64.6 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001382/1.038, allocations: 3.938 kB / 0.5746 GB, free: 64.59 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001691/1.038, allocations: 386.7 kB / 0.5749 GB, free: 64.21 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001856/1.04, allocations: 0.699 MB / 0.5756 GB, free: 63.51 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002138/1.042, allocations: 1.169 MB / 0.5768 GB, free: 62.14 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002824/1.045, allocations: 0.9705 MB / 0.5777 GB, free: 61.16 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.628e-05/1.045, allocations: 7.938 kB / 0.5777 GB, free: 61.16 MB / 394.7 MB Notification: Performance of matching and sorting (n=229) (initialization): time 0.006468/1.051, allocations: 2.299 MB / 0.58 GB, free: 58.82 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.601e-05/1.051, allocations: 8 kB / 0.58 GB, free: 58.82 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.431e-05/1.051, allocations: 12 kB / 0.58 GB, free: 58.8 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00102/1.052, allocations: 267.5 kB / 0.5802 GB, free: 58.53 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00338/1.056, allocations: 411.3 kB / 0.5806 GB, free: 58.13 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006854/1.063, allocations: 5.378 MB / 0.5859 GB, free: 52.42 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001706/1.065, allocations: 39.97 kB / 0.5859 GB, free: 52.38 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001995/1.065, allocations: 75.98 kB / 0.586 GB, free: 52.3 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (209): * Single equations (assignments): 205 * 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 {(1,100.0%) 1,(1,100.0%) 5,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003946/1.065, allocations: 77.23 kB / 0.5861 GB, free: 52.22 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005272/1.066, allocations: 177.8 kB / 0.5862 GB, free: 52.05 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006622/1.072, allocations: 2.274 MB / 0.5885 GB, free: 49.72 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.226e-05/1.072, allocations: 12 kB / 0.5885 GB, free: 49.71 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.755e-05/1.072, allocations: 8 kB / 0.5885 GB, free: 49.7 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-05/1.072, allocations: 11.97 kB / 0.5885 GB, free: 49.69 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01295/1.085, allocations: 5.01 MB / 0.5934 GB, free: 44.56 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.211e-05/1.086, allocations: 3.938 kB / 0.5934 GB, free: 44.55 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002024/1.088, allocations: 208 kB / 0.5936 GB, free: 44.35 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002078/1.09, allocations: 448.2 kB / 0.594 GB, free: 43.9 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002691/1.09, allocations: 15.98 kB / 0.594 GB, free: 43.88 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01276/1.103, allocations: 9.483 MB / 0.6033 GB, free: 33.84 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/1.103, allocations: 0 / 0.6033 GB, free: 33.84 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008237/1.111, allocations: 3.368 MB / 0.6066 GB, free: 30.34 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001425/1.112, allocations: 429.3 kB / 0.607 GB, free: 29.9 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004654/1.113, allocations: 8 kB / 0.607 GB, free: 29.89 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001905/1.115, allocations: 55.95 kB / 0.607 GB, free: 29.84 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002626/1.115, allocations: 81.09 kB / 0.6071 GB, free: 29.76 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001413/1.115, allocations: 47.98 kB / 0.6072 GB, free: 29.71 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.002028/1.117, allocations: 0.9156 MB / 0.6081 GB, free: 28.8 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003193/1.121, allocations: 0.512 MB / 0.6086 GB, free: 28.29 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (aimc.inertiaRotor.phi,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,vfController.x,loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 110 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007783/1.121, allocations: 341.7 kB / 0.6089 GB, free: 27.97 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004915/1.126, allocations: 2.143 MB / 0.611 GB, free: 25.78 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/1.126, allocations: 0 / 0.611 GB, free: 25.78 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003597/1.13, allocations: 1.468 MB / 0.6124 GB, free: 24.27 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003317/1.133, allocations: 344.8 kB / 0.6127 GB, free: 23.94 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0149/1.148, allocations: 4.536 MB / 0.6172 GB, free: 19.32 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004044/1.152, allocations: 2.431 MB / 0.6196 GB, free: 16.87 MB / 394.7 MB Notification: Performance of SimCode: time 1.863e-06/1.152, allocations: 0 / 0.6196 GB, free: 16.87 MB / 394.7 MB Notification: Performance of Templates: time 0.313/1.466, allocations: 100.9 MB / 0.7181 GB, free: 108.5 MB / 410.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/AIMC_Inverter/AIMC_Inverter.csv","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches