Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001521/0.001522, allocations: 114.2 kB / 17.06 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 192 kB / 18 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001029/0.001029, allocations: 47.88 kB / 351.3 MB, free: 3.227 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2449/0.246, allocations: 49.44 MB / 400.7 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.01356/0.2596, allocations: 12.81 MB / 413.6 MB, free: 11.99 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01024/0.2698, allocations: 4.253 MB / 417.8 MB, free: 7.723 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002686/0.2726, allocations: 71.75 kB / 417.9 MB, free: 7.652 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003042/0.2756, allocations: 1.017 MB / 418.9 MB, free: 6.633 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00434/0.28, allocations: 1.317 MB / 420.2 MB, free: 5.309 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002248/0.2823, allocations: 0.8395 MB / 421 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005088/0.2874, allocations: 3.878 MB / 424.9 MB, free: 0.582 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004754/0.2921, allocations: 3.228 MB / 428.2 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003475/0.2956, allocations: 1.842 MB / 430 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003848/0.2995, allocations: 2.059 MB / 432.1 MB, free: 9.363 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001759/0.3013, allocations: 0.5 MB / 432.6 MB, free: 8.863 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002759/0.3041, allocations: 0.6989 MB / 433.3 MB, free: 8.164 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001816/0.3059, allocations: 1.118 MB / 434.4 MB, free: 7.043 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005408/0.3113, allocations: 2.066 MB / 436.4 MB, free: 4.969 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009465/0.3208, allocations: 6.59 MB / 443 MB, free: 14.36 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.3209, allocations: 4 kB / 443 MB, free: 14.35 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3209, allocations: 0 / 443 MB, free: 14.35 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002277/0.3211, allocations: 0 / 443 MB, free: 14.35 MB / 366.1 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.01339/0.3345, allocations: 4.316 MB / 447.3 MB, free: 9.969 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.3346, allocations: 8.031 kB / 447.4 MB, free: 9.961 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00429/0.3389, allocations: 0.8008 MB / 448.2 MB, free: 9.156 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004302/0.3432, allocations: 2.387 MB / 450.5 MB, free: 6.711 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001643/0.3434, allocations: 238.4 kB / 450.8 MB, free: 6.477 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005152/0.3439, allocations: 308 kB / 451.1 MB, free: 6.176 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007705/0.3516, allocations: 4.223 MB / 455.3 MB, free: 1.902 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.247e-05/0.3517, allocations: 3.906 kB / 455.3 MB, free: 1.898 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003058/0.352, allocations: 128 kB / 455.4 MB, free: 1.773 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001781/0.3522, allocations: 154.3 kB / 455.6 MB, free: 1.621 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006401/0.3586, allocations: 3.608 MB / 459.2 MB, free: 14 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02095/0.3796, allocations: 13.01 MB / 472.2 MB, free: 0.6641 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006674/0.3863, allocations: 6.903 MB / 479.1 MB, free: 8.867 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002214/0.3886, allocations: 1.344 MB / 480.4 MB, free: 7.523 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006651/0.3952, allocations: 3.727 MB / 484.2 MB, free: 3.703 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.23e-05/0.3953, allocations: 47.5 kB / 484.2 MB, free: 3.645 MB / 398.1 MB Notification: Performance of pre-optimization done (n=120): time 3.176e-06/0.3953, allocations: 0 / 484.2 MB, free: 3.645 MB / 398.1 MB Notification: Performance of matching and sorting (n=123): time 0.01172/0.4071, allocations: 5.396 MB / 489.6 MB, free: 14.05 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.098e-05/0.4071, allocations: 64.41 kB / 489.7 MB, free: 13.97 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00311/0.4103, allocations: 1.697 MB / 491.4 MB, free: 12.27 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001344/0.4104, allocations: 49.7 kB / 491.4 MB, free: 12.21 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00107/0.4115, allocations: 1.399 MB / 492.8 MB, free: 10.8 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003862/0.4119, allocations: 429.8 kB / 493.2 MB, free: 10.37 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005165/0.4124, allocations: 283.3 kB / 493.5 MB, free: 10.09 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.479e-05/0.4125, allocations: 305.1 kB / 493.8 MB, free: 9.789 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001159/0.4137, allocations: 0.652 MB / 494.5 MB, free: 9.137 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001405/0.4151, allocations: 1.109 MB / 495.6 MB, free: 7.828 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002623/0.4177, allocations: 1.867 MB / 497.4 MB, free: 5.758 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.229e-05/0.4178, allocations: 15.94 kB / 497.5 MB, free: 5.742 MB / 414.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004139/0.4219, allocations: 2.319 MB / 499.8 MB, free: 3.383 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.229e-05/0.422, allocations: 12.28 kB / 499.8 MB, free: 3.371 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.183e-05/0.422, allocations: 19.98 kB / 499.8 MB, free: 3.352 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007839/0.4228, allocations: 271.2 kB / 0.4884 GB, free: 3.074 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001319/0.4241, allocations: 351.4 kB / 0.4887 GB, free: 2.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005757/0.4299, allocations: 6.205 MB / 0.4947 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001446/0.4314, allocations: 75.86 kB / 0.4948 GB, free: 12.03 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002154/0.4316, allocations: 64 kB / 0.4949 GB, free: 11.97 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (180): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,5,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002183/0.4338, allocations: 1.001 MB / 0.4959 GB, free: 10.96 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005938/0.4344, allocations: 177.8 kB / 0.496 GB, free: 10.78 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00408/0.4385, allocations: 2.131 MB / 0.4981 GB, free: 8.582 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.596e-05/0.4385, allocations: 12 kB / 0.4981 GB, free: 8.57 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.497e-05/0.4386, allocations: 8 kB / 0.4981 GB, free: 8.562 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.425e-05/0.4386, allocations: 7.969 kB / 0.4981 GB, free: 8.555 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008969/0.4476, allocations: 4.826 MB / 0.5028 GB, free: 3.598 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.149e-05/0.4476, allocations: 0 / 0.5028 GB, free: 3.598 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008222/0.4484, allocations: 172 kB / 0.503 GB, free: 3.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001328/0.4498, allocations: 448 kB / 0.5034 GB, free: 2.977 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001221/0.4499, allocations: 31.98 kB / 0.5035 GB, free: 2.945 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01119/0.4611, allocations: 11.04 MB / 0.5142 GB, free: 7.219 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.4612, allocations: 4.109 kB / 0.5143 GB, free: 7.215 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005084/0.4663, allocations: 3.017 MB / 0.5172 GB, free: 4.109 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009687/0.4673, allocations: 406.7 kB / 0.5176 GB, free: 3.691 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004521/0.4678, allocations: 32 kB / 0.5176 GB, free: 3.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00107/0.4688, allocations: 63.94 kB / 0.5177 GB, free: 3.598 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002731/0.4691, allocations: 100.8 kB / 0.5178 GB, free: 3.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.462e-05/0.4692, allocations: 32 kB / 0.5178 GB, free: 3.469 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002202/0.4714, allocations: 1.174 MB / 0.5189 GB, free: 2.301 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4715, allocations: 0 / 0.5189 GB, free: 2.301 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002367/0.4738, allocations: 0.5352 MB / 0.5195 GB, free: 1.766 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (aimc.inertiaRotor.w,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.phi) * 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 (86): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,5,100.0%), (1,1,100.0%), (1,8,100.0%), (1,13,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004499/0.4743, allocations: 173 kB / 0.5196 GB, free: 1.59 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003553/0.4779, allocations: 2.077 MB / 0.5217 GB, free: 15.46 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.4779, allocations: 0.5 kB / 0.5217 GB, free: 15.46 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002237/0.4801, allocations: 1.538 MB / 0.5232 GB, free: 13.85 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002383/0.4825, allocations: 0.5009 MB / 0.5237 GB, free: 13.36 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01021/0.4927, allocations: 5.467 MB / 0.529 GB, free: 7.84 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003006/0.4958, allocations: 2.277 MB / 0.5312 GB, free: 5.535 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001474/0.4973, allocations: 387.7 kB / 0.5316 GB, free: 5.152 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000454/0.4978, allocations: 119.4 kB / 0.5317 GB, free: 5.035 MB / 462.1 MB Notification: Performance of SimCode: time 1.052e-06/0.4978, allocations: 0 / 0.5317 GB, free: 5.035 MB / 462.1 MB Notification: Performance of Templates: time 0.252/0.7498, allocations: 28.03 MB / 0.5591 GB, free: 115.8 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Inverter/IMC_Inverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches