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.001118/0.001118, allocations: 196.9 kB / 17.05 MB, free: 5.102 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.495/1.495, allocations: 226.6 MB / 244.3 MB, free: 8.301 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000837/0.0008368, allocations: 104.9 kB / 296.4 MB, free: 6.996 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002808/0.0002807, allocations: 8 kB / 356.2 MB, free: 11.19 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.248/0.2483, allocations: 51.3 MB / 407.5 MB, free: 27.82 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Inverter): time 0.009244/0.2576, allocations: 11.78 MB / 419.3 MB, free: 15.99 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006441/0.2641, allocations: 4.137 MB / 423.4 MB, free: 11.86 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001379/0.2655, allocations: 75.69 kB / 423.5 MB, free: 11.79 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001653/0.2672, allocations: 0.734 MB / 424.2 MB, free: 11.05 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002204/0.2694, allocations: 1.022 MB / 425.3 MB, free: 10.02 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001268/0.2707, allocations: 0.6183 MB / 425.9 MB, free: 9.402 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002927/0.2736, allocations: 3.969 MB / 429.9 MB, free: 5.418 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002053/0.2757, allocations: 2.215 MB / 432.1 MB, free: 3.164 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00196/0.2777, allocations: 1.249 MB / 433.3 MB, free: 1.91 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001534/0.2792, allocations: 1.58 MB / 434.9 MB, free: 332 kB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002928/0.2795, allocations: 208 kB / 435.1 MB, free: 124 kB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001084/0.2806, allocations: 415.7 kB / 435.5 MB, free: 15.71 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005947/0.2812, allocations: 0.7396 MB / 436.2 MB, free: 14.97 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000752/0.282, allocations: 0.7187 MB / 437 MB, free: 14.25 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004757/0.2867, allocations: 5.434 MB / 442.4 MB, free: 8.797 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.2868, allocations: 0 / 442.4 MB, free: 8.797 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.2868, allocations: 0 / 442.4 MB, free: 8.797 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.942e-05/0.2869, allocations: 0 / 442.4 MB, free: 8.797 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.008718/0.2956, allocations: 3.708 MB / 446.1 MB, free: 5.02 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.2957, allocations: 12.03 kB / 446.1 MB, free: 5.008 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00387/0.2995, allocations: 0.8038 MB / 446.9 MB, free: 4.199 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003703/0.3032, allocations: 2.239 MB / 449.2 MB, free: 1.902 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001599/0.3034, allocations: 238.2 kB / 449.4 MB, free: 1.668 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004224/0.3039, allocations: 311.9 kB / 449.7 MB, free: 1.363 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006996/0.3109, allocations: 4.211 MB / 453.9 MB, free: 13.1 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.644e-05/0.3109, allocations: 4 kB / 453.9 MB, free: 13.1 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002881/0.3112, allocations: 128 kB / 454 MB, free: 12.97 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001369/0.3114, allocations: 154.3 kB / 454.2 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00587/0.3172, allocations: 3.601 MB / 457.8 MB, free: 9.207 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0186/0.3359, allocations: 13.33 MB / 471.1 MB, free: 11.52 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006416/0.3423, allocations: 7.161 MB / 478.3 MB, free: 3.414 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002657/0.345, allocations: 1.593 MB / 479.9 MB, free: 1.828 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006742/0.3518, allocations: 4.221 MB / 484.1 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.156e-05/0.3518, allocations: 47.55 kB / 484.1 MB, free: 13.4 MB / 362.7 MB Notification: Performance of pre-optimization done (n=120): time 4.789e-06/0.3518, allocations: 0 / 484.1 MB, free: 13.4 MB / 362.7 MB Notification: Performance of matching and sorting (n=123): time 0.01184/0.3637, allocations: 5.65 MB / 489.8 MB, free: 7.547 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.319e-05/0.3638, allocations: 64.41 kB / 489.9 MB, free: 7.469 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002852/0.3666, allocations: 1.706 MB / 491.6 MB, free: 5.758 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.45e-05/0.3667, allocations: 49.7 kB / 491.6 MB, free: 5.703 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001005/0.3677, allocations: 1.403 MB / 493 MB, free: 4.281 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003456/0.3681, allocations: 441.8 kB / 493.4 MB, free: 3.844 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.815e-05/0.3682, allocations: 28 kB / 493.5 MB, free: 3.816 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.3683, allocations: 365.9 kB / 493.8 MB, free: 3.453 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001046/0.3694, allocations: 0.6598 MB / 494.5 MB, free: 2.793 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001338/0.3707, allocations: 1.129 MB / 495.6 MB, free: 1.461 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001295/0.372, allocations: 0.8652 MB / 496.5 MB, free: 0.5938 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-06/0.3721, allocations: 4 kB / 496.5 MB, free: 0.5898 MB / 362.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003726/0.3758, allocations: 2.413 MB / 498.9 MB, free: 14.13 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.829e-05/0.3758, allocations: 12 kB / 498.9 MB, free: 14.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.935e-05/0.3759, allocations: 16 kB / 498.9 MB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000777/0.3766, allocations: 319.4 kB / 499.2 MB, free: 13.78 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001221/0.3779, allocations: 355.4 kB / 499.6 MB, free: 13.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005705/0.3836, allocations: 6.117 MB / 0.4939 GB, free: 6.922 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001222/0.3848, allocations: 84.11 kB / 0.4939 GB, free: 6.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001411/0.385, allocations: 67.98 kB / 0.494 GB, free: 6.773 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.001942/0.3869, allocations: 1.001 MB / 0.495 GB, free: 5.762 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004281/0.3874, allocations: 181.8 kB / 0.4951 GB, free: 5.582 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004027/0.3914, allocations: 2.229 MB / 0.4973 GB, free: 3.289 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.707e-05/0.3914, allocations: 12 kB / 0.4973 GB, free: 3.277 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.097e-05/0.3915, allocations: 12 kB / 0.4973 GB, free: 3.266 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.182e-05/0.3915, allocations: 3.984 kB / 0.4974 GB, free: 3.262 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2104/0.6018, allocations: 4.95 MB / 0.5022 GB, free: 88.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/0.6019, allocations: 2.75 kB / 0.5022 GB, free: 88.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007356/0.6026, allocations: 167.8 kB / 0.5023 GB, free: 88.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001359/0.604, allocations: 0.4884 MB / 0.5028 GB, free: 88.57 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.487e-05/0.6041, allocations: 37.83 kB / 0.5029 GB, free: 88.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00844/0.6125, allocations: 10.49 MB / 0.5131 GB, free: 80.14 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.6126, allocations: 10.62 kB / 0.5131 GB, free: 80.14 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004832/0.6174, allocations: 3.123 MB / 0.5162 GB, free: 78.7 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008119/0.6182, allocations: 411.9 kB / 0.5166 GB, free: 78.5 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001879/0.6184, allocations: 35.62 kB / 0.5166 GB, free: 78.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007941/0.6192, allocations: 74.16 kB / 0.5167 GB, free: 78.46 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002217/0.6195, allocations: 94.14 kB / 0.5168 GB, free: 78.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.777e-05/0.6195, allocations: 35.47 kB / 0.5168 GB, free: 78.44 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001587/0.6211, allocations: 1.173 MB / 0.5179 GB, free: 77.97 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6211, allocations: 0 / 0.5179 GB, free: 77.97 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00182/0.623, allocations: 0.549 MB / 0.5185 GB, free: 77.92 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.0003255/0.6233, allocations: 176.3 kB / 0.5186 GB, free: 77.8 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002909/0.6262, allocations: 2.138 MB / 0.5207 GB, free: 76.73 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.6262, allocations: 0 / 0.5207 GB, free: 76.73 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001902/0.6281, allocations: 1.558 MB / 0.5222 GB, free: 75.76 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001965/0.6301, allocations: 0.4984 MB / 0.5227 GB, free: 75.61 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008221/0.6384, allocations: 6.649 MB / 0.5292 GB, free: 70.2 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001528/0.6399, allocations: 2.238 MB / 0.5314 GB, free: 68.05 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004119/0.6403, allocations: 131.4 kB / 0.5315 GB, free: 67.92 MB / 378.7 MB Notification: Performance of SimCode: time 7.42e-07/0.6403, allocations: 0 / 0.5315 GB, free: 67.92 MB / 378.7 MB Notification: Performance of Templates: time 0.09726/0.7376, allocations: 109.2 MB / 0.6382 GB, free: 6.691 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