Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_cpp_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_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00109/0.00109, allocations: 194 kB / 17.38 MB, free: 4.434 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.282/1.282, allocations: 226.6 MB / 244.7 MB, free: 8.152 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000764/0.000764, allocations: 100.7 kB / 296.8 MB, free: 6.871 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002452/0.0002452, allocations: 4 kB / 356.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2158/0.2161, allocations: 51.3 MB / 408.1 MB, free: 27.7 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.008693/0.2248, allocations: 11.82 MB / 419.9 MB, free: 15.84 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006316/0.2312, allocations: 4.135 MB / 424 MB, free: 11.7 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001367/0.2325, allocations: 71.75 kB / 424.1 MB, free: 11.63 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001685/0.2342, allocations: 0.7457 MB / 424.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002222/0.2365, allocations: 1.026 MB / 425.9 MB, free: 9.852 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001287/0.2378, allocations: 0.6113 MB / 426.5 MB, free: 9.242 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003172/0.241, allocations: 4.025 MB / 430.5 MB, free: 5.203 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002366/0.2433, allocations: 2.686 MB / 433.2 MB, free: 2.449 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001433/0.2448, allocations: 1.241 MB / 434.4 MB, free: 1.203 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001527/0.2463, allocations: 1.591 MB / 436 MB, free: 15.61 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003277/0.2467, allocations: 200 kB / 436.2 MB, free: 15.41 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001031/0.2477, allocations: 427.7 kB / 436.6 MB, free: 14.99 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006279/0.2483, allocations: 0.7357 MB / 437.4 MB, free: 14.25 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001655/0.25, allocations: 1.646 MB / 439 MB, free: 12.59 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004811/0.2548, allocations: 5.434 MB / 444.4 MB, free: 7.145 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.2549, allocations: 4 kB / 444.5 MB, free: 7.141 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.572e-06/0.2549, allocations: 4 kB / 444.5 MB, free: 7.137 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001124/0.255, allocations: 0 / 444.5 MB, free: 7.137 MB / 314.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.008684/0.2637, allocations: 3.673 MB / 448.1 MB, free: 3.395 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.2637, allocations: 8.031 kB / 448.1 MB, free: 3.387 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003998/0.2677, allocations: 0.8125 MB / 448.9 MB, free: 2.57 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004104/0.2719, allocations: 2.29 MB / 451.2 MB, free: 228 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001907/0.2721, allocations: 242.4 kB / 451.5 MB, free: 15.98 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005246/0.2726, allocations: 311.9 kB / 451.8 MB, free: 15.68 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007356/0.28, allocations: 4.207 MB / 456 MB, free: 11.42 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.708e-05/0.2801, allocations: 4 kB / 456 MB, free: 11.41 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002904/0.2804, allocations: 131.9 kB / 456.1 MB, free: 11.29 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001348/0.2805, allocations: 150.2 kB / 456.3 MB, free: 11.14 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006697/0.2872, allocations: 3.609 MB / 459.9 MB, free: 7.52 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02107/0.3083, allocations: 13.33 MB / 473.2 MB, free: 9.844 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007001/0.3153, allocations: 7.164 MB / 480.4 MB, free: 1.723 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002808/0.3182, allocations: 1.582 MB / 482 MB, free: 152 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006813/0.325, allocations: 4.225 MB / 486.2 MB, free: 11.77 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.655e-05/0.3251, allocations: 51.5 kB / 486.2 MB, free: 11.71 MB / 362.7 MB Notification: Performance of pre-optimization done (n=120): time 4.799e-06/0.3251, allocations: 3.938 kB / 486.2 MB, free: 11.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=123): time 0.01077/0.3359, allocations: 5.611 MB / 491.8 MB, free: 5.895 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.128e-05/0.336, allocations: 68.34 kB / 491.9 MB, free: 5.812 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002479/0.3385, allocations: 1.706 MB / 493.6 MB, free: 4.102 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000118/0.3386, allocations: 45.7 kB / 493.7 MB, free: 4.051 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009567/0.3396, allocations: 1.407 MB / 495.1 MB, free: 2.625 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003673/0.3399, allocations: 437.7 kB / 495.5 MB, free: 2.191 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.874e-05/0.34, allocations: 36 kB / 495.5 MB, free: 2.156 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.3402, allocations: 361.9 kB / 495.9 MB, free: 1.797 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001161/0.3414, allocations: 0.6559 MB / 496.5 MB, free: 1.145 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001536/0.3429, allocations: 1.129 MB / 497.7 MB, free: 15.82 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00273/0.3457, allocations: 1.902 MB / 499.6 MB, free: 13.71 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.536e-06/0.3457, allocations: 8 kB / 499.6 MB, free: 13.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004092/0.3498, allocations: 2.402 MB / 0.4902 GB, free: 11.27 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.344e-05/0.3498, allocations: 19.92 kB / 0.4902 GB, free: 11.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.471e-05/0.3499, allocations: 16 kB / 0.4902 GB, free: 11.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008258/0.3507, allocations: 307.5 kB / 0.4905 GB, free: 10.92 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001336/0.3521, allocations: 359.4 kB / 0.4909 GB, free: 10.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005995/0.3581, allocations: 6.129 MB / 0.4969 GB, free: 4.035 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001327/0.3594, allocations: 76.12 kB / 0.4969 GB, free: 3.961 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001218/0.3595, allocations: 71.98 kB / 0.497 GB, free: 3.891 MB / 378.7 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 (177): * 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: 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%) 8,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001751/0.3613, allocations: 0.997 MB / 0.498 GB, free: 2.883 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003436/0.3617, allocations: 181.8 kB / 0.4982 GB, free: 2.703 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003877/0.3655, allocations: 2.229 MB / 0.5003 GB, free: 420 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.251e-05/0.3656, allocations: 12 kB / 0.5003 GB, free: 408 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/0.3656, allocations: 8 kB / 0.5004 GB, free: 400 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.229e-05/0.3656, allocations: 3.984 kB / 0.5004 GB, free: 396 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1916/0.5572, allocations: 4.954 MB / 0.5052 GB, free: 87.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/0.5573, allocations: 0 / 0.5052 GB, free: 87.9 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006816/0.5579, allocations: 170.4 kB / 0.5054 GB, free: 87.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001147/0.5591, allocations: 0.4892 MB / 0.5058 GB, free: 87.72 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.486e-05/0.5592, allocations: 34.56 kB / 0.5059 GB, free: 87.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007873/0.5671, allocations: 10.52 MB / 0.5161 GB, free: 79.07 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.5671, allocations: 4.469 kB / 0.5161 GB, free: 79.07 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004251/0.5714, allocations: 3.111 MB / 0.5192 GB, free: 77.63 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006956/0.5721, allocations: 421.4 kB / 0.5196 GB, free: 77.43 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001914/0.5723, allocations: 28.66 kB / 0.5196 GB, free: 77.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007419/0.5731, allocations: 74.17 kB / 0.5197 GB, free: 77.4 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002256/0.5733, allocations: 97.22 kB / 0.5198 GB, free: 77.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.619e-05/0.5734, allocations: 34.83 kB / 0.5198 GB, free: 77.37 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001487/0.5749, allocations: 1.171 MB / 0.521 GB, free: 76.9 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5749, allocations: 2.125 kB / 0.521 GB, free: 76.9 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001658/0.5765, allocations: 0.5538 MB / 0.5215 GB, free: 76.85 MB / 378.7 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 (83): * Single equations (assignments): 78 * 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%) 8,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002849/0.5768, allocations: 162.6 kB / 0.5217 GB, free: 76.73 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002742/0.5796, allocations: 2.145 MB / 0.5237 GB, free: 75.66 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.5796, allocations: 0 / 0.5237 GB, free: 75.66 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00178/0.5814, allocations: 1.551 MB / 0.5253 GB, free: 74.56 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00224/0.5836, allocations: 495.5 kB / 0.5257 GB, free: 74.17 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007271/0.5909, allocations: 6.66 MB / 0.5322 GB, free: 67.52 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001324/0.5923, allocations: 2.232 MB / 0.5344 GB, free: 65.27 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004233/0.5927, allocations: 139.4 kB / 0.5346 GB, free: 65.13 MB / 378.7 MB Notification: Performance of SimCode: time 7.62e-07/0.5927, allocations: 0 / 0.5346 GB, free: 65.13 MB / 378.7 MB Notification: Performance of Templates: time 0.08646/0.6792, allocations: 109.1 MB / 0.6411 GB, free: 4.016 MB / 426.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.makefile (rm -f Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe >> ../files/Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.sim & ./Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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","../files/Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches