Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.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_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|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|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|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|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001021/0.001021, allocations: 187 kB / 17.91 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.206/1.206, allocations: 205.1 MB / 223.7 MB, free: 8.48 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.0009245/0.0009245, allocations: 97.11 kB / 271.2 MB, free: 8.441 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007998/0.0007999, allocations: 39.94 kB / 327.2 MB, free: 324 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1886/0.1894, allocations: 46.62 MB / 373.8 MB, free: 45.67 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz): time 0.01051/0.1999, allocations: 13.44 MB / 387.3 MB, free: 35.22 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006185/0.2061, allocations: 4.378 MB / 391.6 MB, free: 31.61 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009889/0.2072, allocations: 65.16 kB / 391.7 MB, free: 31.58 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00166/0.2089, allocations: 0.8755 MB / 392.6 MB, free: 30.7 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002476/0.2114, allocations: 1.182 MB / 393.8 MB, free: 29.51 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001458/0.2128, allocations: 0.8366 MB / 394.6 MB, free: 28.68 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003563/0.2164, allocations: 4.386 MB / 399 MB, free: 24.28 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002118/0.2185, allocations: 2.635 MB / 401.6 MB, free: 21.57 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001273/0.2198, allocations: 1.518 MB / 403.1 MB, free: 20.05 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0013/0.2211, allocations: 1.922 MB / 405.1 MB, free: 18.12 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003189/0.2215, allocations: 300 kB / 405.4 MB, free: 17.83 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008219/0.2223, allocations: 0.5036 MB / 405.9 MB, free: 17.32 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004669/0.2228, allocations: 0.8837 MB / 406.7 MB, free: 16.44 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001159/0.2239, allocations: 1.901 MB / 408.6 MB, free: 14.53 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003151/0.2271, allocations: 6.477 MB / 415.1 MB, free: 8.031 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.2271, allocations: 0 / 415.1 MB, free: 8.031 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2271, allocations: 0 / 415.1 MB, free: 8.031 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.411e-05/0.2272, allocations: 7.938 kB / 415.1 MB, free: 8.023 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 844 * Number of variables: 844 Notification: Performance of Generate backend data structure: time 0.007308/0.2345, allocations: 4.394 MB / 419.5 MB, free: 3.559 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.2345, allocations: 8.031 kB / 419.5 MB, free: 3.551 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003369/0.2379, allocations: 0.8201 MB / 420.4 MB, free: 2.727 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002894/0.2408, allocations: 2.213 MB / 422.6 MB, free: 468 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.91e-05/0.2409, allocations: 246.8 kB / 422.8 MB, free: 220 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003779/0.2413, allocations: 332 kB / 423.1 MB, free: 15.89 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005981/0.2473, allocations: 4.263 MB / 427.4 MB, free: 11.57 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.602e-05/0.2474, allocations: 3.984 kB / 427.4 MB, free: 11.57 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002693/0.2476, allocations: 136 kB / 427.5 MB, free: 11.44 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001164/0.2478, allocations: 150.4 kB / 427.7 MB, free: 11.29 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005284/0.2531, allocations: 3.594 MB / 431.3 MB, free: 7.688 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01837/0.2714, allocations: 13.87 MB / 445.1 MB, free: 9.441 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0062/0.2777, allocations: 6.586 MB / 451.7 MB, free: 2.02 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002085/0.2798, allocations: 1.386 MB / 453.1 MB, free: 0.6367 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005362/0.2851, allocations: 3.643 MB / 456.8 MB, free: 12.91 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/0.2852, allocations: 43.88 kB / 456.8 MB, free: 12.86 MB / 346.7 MB Notification: Performance of pre-optimization done (n=134): time 2.665e-06/0.2852, allocations: 4 kB / 456.8 MB, free: 12.85 MB / 346.7 MB Notification: Performance of matching and sorting (n=137): time 0.009971/0.2952, allocations: 5.875 MB / 462.7 MB, free: 6.754 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.914e-05/0.2953, allocations: 72.72 kB / 462.7 MB, free: 6.668 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00214/0.2974, allocations: 1.78 MB / 464.5 MB, free: 4.887 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.736e-05/0.2975, allocations: 49.7 kB / 464.6 MB, free: 4.832 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008686/0.2984, allocations: 1.43 MB / 466 MB, free: 3.383 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003249/0.2987, allocations: 485.1 kB / 466.5 MB, free: 2.902 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004592/0.2992, allocations: 319.2 kB / 466.8 MB, free: 2.586 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001009/0.2993, allocations: 309.1 kB / 467.1 MB, free: 2.281 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009879/0.3003, allocations: 0.6754 MB / 467.8 MB, free: 1.605 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001302/0.3016, allocations: 1.194 MB / 469 MB, free: 192 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002401/0.304, allocations: 2.007 MB / 471 MB, free: 13.96 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.304, allocations: 4 kB / 471 MB, free: 13.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.003559/0.3076, allocations: 2.535 MB / 473.5 MB, free: 11.38 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.3076, allocations: 15.98 kB / 473.5 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.943e-05/0.3076, allocations: 16 kB / 473.5 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008619/0.3085, allocations: 372.1 kB / 473.9 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/0.3098, allocations: 371.4 kB / 474.3 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006946/0.3167, allocations: 7.699 MB / 482 MB, free: 2.367 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001015/0.3178, allocations: 75.88 kB / 482 MB, free: 2.293 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001167/0.3179, allocations: 75.98 kB / 482.1 MB, free: 2.219 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 2 (idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (192): * Single equations (assignments): 187 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(1,7,100.0%), (2,8,100.0%), (1,1,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001411/0.3193, allocations: 1.012 MB / 483.1 MB, free: 1.199 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002438/0.3195, allocations: 193.6 kB / 483.3 MB, free: 1.008 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003646/0.3232, allocations: 2.293 MB / 485.6 MB, free: 14.65 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/0.3232, allocations: 16 kB / 485.6 MB, free: 14.63 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.819e-05/0.3233, allocations: 8 kB / 485.6 MB, free: 14.62 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.186e-05/0.3233, allocations: 7.969 kB / 485.6 MB, free: 14.62 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007432/0.3307, allocations: 5.071 MB / 490.7 MB, free: 9.406 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.403e-06/0.3307, allocations: 4 kB / 490.7 MB, free: 9.402 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007366/0.3315, allocations: 171.8 kB / 490.9 MB, free: 9.234 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00129/0.3328, allocations: 0.5323 MB / 491.4 MB, free: 8.684 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.196e-05/0.3329, allocations: 39.98 kB / 491.5 MB, free: 8.645 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01086/0.3437, allocations: 12.08 MB / 0.4917 GB, free: 11.76 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.3438, allocations: 4.094 kB / 0.4917 GB, free: 11.76 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1697/0.5134, allocations: 27.49 MB / 0.5186 GB, free: 107.8 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005973/0.5141, allocations: 425.5 kB / 0.519 GB, free: 107.6 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001901/0.5143, allocations: 33.2 kB / 0.519 GB, free: 107.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007633/0.515, allocations: 66.48 kB / 0.5191 GB, free: 107.5 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002399/0.5153, allocations: 109.1 kB / 0.5192 GB, free: 107.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.456e-05/0.5154, allocations: 37.92 kB / 0.5192 GB, free: 107.5 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001789/0.5172, allocations: 1.221 MB / 0.5204 GB, free: 107 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5172, allocations: 6.797 kB / 0.5204 GB, free: 107 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002535/0.5197, allocations: 0.7987 MB / 0.5212 GB, free: 107 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 9 (aimc.inertiaRotor.w,aimc.stator.zeroInductor.i0,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,7,100.0%), (2,8,100.0%), (1,1,100.0%), (1,13,100.0%), (1,8,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.0002386/0.52, allocations: 164.4 kB / 0.5214 GB, free: 106.8 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002717/0.5227, allocations: 2.361 MB / 0.5237 GB, free: 105.6 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.5227, allocations: 3.875 kB / 0.5237 GB, free: 105.6 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001833/0.5245, allocations: 1.745 MB / 0.5254 GB, free: 104.5 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001789/0.5263, allocations: 0.5038 MB / 0.5259 GB, free: 104.4 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008192/0.5345, allocations: 9.132 MB / 0.5348 GB, free: 98.35 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001476/0.536, allocations: 2.345 MB / 0.5371 GB, free: 96.46 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001055/0.5371, allocations: 408.3 kB / 0.5375 GB, free: 96.16 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002679/0.5374, allocations: 130.2 kB / 0.5376 GB, free: 96.04 MB / 394.7 MB Notification: Performance of SimCode: time 5.11e-07/0.5374, allocations: 4 kB / 0.5376 GB, free: 96.04 MB / 394.7 MB Notification: Performance of Templates: time 0.0374/0.5748, allocations: 34.26 MB / 0.571 GB, free: 61.93 MB / 394.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/AIMC_Steinmetz/AIMC_Steinmetz.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches