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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 188.9 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 222.9 MB / 240.9 MB, free: 11.01 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009372/0.0009371, allocations: 105.5 kB / 291.2 MB, free: 10.97 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007512/0.0007512, allocations: 39.95 kB / 350.1 MB, free: 88 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2028/0.2036, allocations: 49.43 MB / 399.5 MB, free: 33.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.009955/0.2135, allocations: 12.67 MB / 412.2 MB, free: 20.67 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00581/0.2194, allocations: 4.191 MB / 416.4 MB, free: 16.47 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001677/0.2211, allocations: 75.69 kB / 416.4 MB, free: 16.39 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002141/0.2233, allocations: 0.8551 MB / 417.3 MB, free: 15.54 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003121/0.2264, allocations: 1.158 MB / 418.4 MB, free: 14.37 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001615/0.2281, allocations: 0.7816 MB / 419.2 MB, free: 13.59 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003717/0.2318, allocations: 4.203 MB / 423.4 MB, free: 9.371 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002304/0.2341, allocations: 2.682 MB / 426.1 MB, free: 6.621 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001415/0.2355, allocations: 1.467 MB / 427.6 MB, free: 5.148 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001551/0.2371, allocations: 1.895 MB / 429.5 MB, free: 3.246 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003676/0.2375, allocations: 296 kB / 429.8 MB, free: 2.957 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009269/0.2384, allocations: 0.4919 MB / 430.2 MB, free: 2.465 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005176/0.239, allocations: 0.876 MB / 431.1 MB, free: 1.586 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001396/0.2404, allocations: 1.839 MB / 433 MB, free: 15.73 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006165/0.2465, allocations: 6.387 MB / 439.4 MB, free: 9.332 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.2466, allocations: 3.938 kB / 439.4 MB, free: 9.328 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.2466, allocations: 0 / 439.4 MB, free: 9.328 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001656/0.2468, allocations: 0 / 439.4 MB, free: 9.328 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.01078/0.2576, allocations: 4.289 MB / 443.6 MB, free: 4.969 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.2576, allocations: 16.03 kB / 443.7 MB, free: 4.953 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004045/0.2617, allocations: 0.8085 MB / 444.5 MB, free: 4.141 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004323/0.266, allocations: 2.27 MB / 446.7 MB, free: 1.812 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001611/0.2662, allocations: 234.6 kB / 447 MB, free: 1.582 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005298/0.2667, allocations: 319.8 kB / 447.3 MB, free: 1.27 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006823/0.2736, allocations: 4.223 MB / 451.5 MB, free: 12.99 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.114e-05/0.2736, allocations: 4 kB / 451.5 MB, free: 12.99 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002792/0.2739, allocations: 128 kB / 451.6 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001321/0.2741, allocations: 150.3 kB / 451.8 MB, free: 12.71 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005998/0.2801, allocations: 3.616 MB / 455.4 MB, free: 9.09 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0207/0.3008, allocations: 13.17 MB / 468.6 MB, free: 11.58 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006879/0.3077, allocations: 6.896 MB / 475.5 MB, free: 3.785 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002417/0.3102, allocations: 1.368 MB / 476.8 MB, free: 2.418 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00651/0.3167, allocations: 3.738 MB / 480.6 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.344e-05/0.3168, allocations: 47.56 kB / 480.6 MB, free: 14.53 MB / 362.7 MB Notification: Performance of pre-optimization done (n=120): time 2.745e-06/0.3168, allocations: 3.938 kB / 480.6 MB, free: 14.53 MB / 362.7 MB Notification: Performance of matching and sorting (n=123): time 0.01038/0.3272, allocations: 5.392 MB / 486 MB, free: 8.938 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.782e-05/0.3272, allocations: 64.41 kB / 486.1 MB, free: 8.859 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002938/0.3302, allocations: 1.701 MB / 487.8 MB, free: 7.152 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001379/0.3303, allocations: 49.7 kB / 487.8 MB, free: 7.098 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009367/0.3313, allocations: 1.391 MB / 489.2 MB, free: 5.688 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004049/0.3317, allocations: 441.7 kB / 489.6 MB, free: 5.25 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004942/0.3322, allocations: 283.3 kB / 489.9 MB, free: 4.969 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.3323, allocations: 305.1 kB / 490.2 MB, free: 4.668 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001115/0.3334, allocations: 0.648 MB / 490.9 MB, free: 4.02 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001336/0.3348, allocations: 1.109 MB / 492 MB, free: 2.711 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002495/0.3373, allocations: 1.878 MB / 493.9 MB, free: 0.6328 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.06e-05/0.3373, allocations: 4 kB / 493.9 MB, free: 0.6289 MB / 362.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003784/0.3411, allocations: 2.312 MB / 496.2 MB, free: 14.27 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.536e-05/0.3411, allocations: 16 kB / 496.2 MB, free: 14.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.392e-05/0.3412, allocations: 16 kB / 496.2 MB, free: 14.24 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006874/0.3419, allocations: 275.2 kB / 496.5 MB, free: 13.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001295/0.3432, allocations: 359.4 kB / 496.8 MB, free: 13.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004851/0.348, allocations: 5.685 MB / 0.4907 GB, free: 7.531 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001261/0.3493, allocations: 79.92 kB / 0.4908 GB, free: 7.453 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001454/0.3495, allocations: 64 kB / 0.4909 GB, free: 7.391 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 (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.001564/0.351, allocations: 1.001 MB / 0.4918 GB, free: 6.379 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000393/0.3515, allocations: 181.8 kB / 0.492 GB, free: 6.199 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003732/0.3552, allocations: 2.135 MB / 0.4941 GB, free: 4.004 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/0.3552, allocations: 12 kB / 0.4941 GB, free: 3.992 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.609e-05/0.3552, allocations: 8 kB / 0.4941 GB, free: 3.984 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.325e-05/0.3553, allocations: 11.91 kB / 0.4941 GB, free: 3.973 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1715/0.5268, allocations: 4.826 MB / 0.4988 GB, free: 93.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.511e-05/0.5268, allocations: 2.25 kB / 0.4989 GB, free: 93.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009287/0.5278, allocations: 168.8 kB / 0.499 GB, free: 93.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001314/0.5291, allocations: 449.3 kB / 0.4994 GB, free: 93.58 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001629/0.5293, allocations: 37.05 kB / 0.4995 GB, free: 93.58 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007142/0.5364, allocations: 10.08 MB / 0.5093 GB, free: 85.57 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.5365, allocations: 3.906 kB / 0.5093 GB, free: 85.57 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02746/0.5639, allocations: 23.94 MB / 0.5327 GB, free: 67.82 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006352/0.5646, allocations: 406.8 kB / 0.5331 GB, free: 67.4 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001925/0.5648, allocations: 37.89 kB / 0.5331 GB, free: 67.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008129/0.5656, allocations: 67.89 kB / 0.5332 GB, free: 67.3 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002513/0.5659, allocations: 92.8 kB / 0.5333 GB, free: 67.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.681e-05/0.566, allocations: 39.98 kB / 0.5333 GB, free: 67.16 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001327/0.5673, allocations: 1.178 MB / 0.5345 GB, free: 65.99 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5673, allocations: 0 / 0.5345 GB, free: 65.99 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002388/0.5697, allocations: 0.7408 MB / 0.5352 GB, free: 65.25 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 (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.0003122/0.57, allocations: 159.1 kB / 0.5353 GB, free: 65.09 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002778/0.5728, allocations: 2.072 MB / 0.5374 GB, free: 62.96 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.5728, allocations: 4.844 kB / 0.5374 GB, free: 62.96 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001938/0.5748, allocations: 1.522 MB / 0.5389 GB, free: 61.38 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002305/0.5771, allocations: 491 kB / 0.5393 GB, free: 60.91 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01033/0.5875, allocations: 8.481 MB / 0.5476 GB, free: 52.34 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001617/0.5891, allocations: 2.325 MB / 0.5499 GB, free: 49.99 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001356/0.5905, allocations: 387.7 kB / 0.5502 GB, free: 49.61 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003053/0.5908, allocations: 127.4 kB / 0.5504 GB, free: 49.48 MB / 378.7 MB Notification: Performance of SimCode: time 8.61e-07/0.5908, allocations: 0 / 0.5504 GB, free: 49.48 MB / 378.7 MB Notification: Performance of Templates: time 0.04467/0.6355, allocations: 31.39 MB / 0.581 GB, free: 18.46 MB / 378.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Inverter/IMC_Inverter.csv","../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