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/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 3.2.3+maint.om/package.mo", uses=false) 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 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 103.9 kB / 18.39 MB, free: 4.656 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.00139/0.00139, allocations: 190.4 kB / 19.33 MB, free: 3.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.426/1.426, allocations: 205.1 MB / 225.2 MB, free: 12.21 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 52.22 kB / 329.2 MB, free: 3.266 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09692/0.09885, allocations: 46.61 MB / 375.8 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz): time 0.1834/0.2823, allocations: 13.58 MB / 389.4 MB, free: 5.5 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008574/0.2909, allocations: 4.442 MB / 393.9 MB, free: 2.516 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002533/0.2935, allocations: 71.59 kB / 393.9 MB, free: 2.496 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002886/0.2964, allocations: 0.9984 MB / 394.9 MB, free: 1.965 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004356/0.3007, allocations: 1.304 MB / 396.2 MB, free: 1.098 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002044/0.3028, allocations: 0.9025 MB / 397.1 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00562/0.3084, allocations: 4.107 MB / 401.2 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004143/0.3126, allocations: 3.183 MB / 404.4 MB, free: 13 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003467/0.3161, allocations: 1.899 MB / 406.3 MB, free: 12.06 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004545/0.3207, allocations: 2.092 MB / 408.4 MB, free: 11 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001549/0.3222, allocations: 0.5092 MB / 408.9 MB, free: 11 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002863/0.3251, allocations: 0.7096 MB / 409.6 MB, free: 10.92 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00182/0.327, allocations: 1.118 MB / 410.7 MB, free: 10.18 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004478/0.3315, allocations: 2.133 MB / 412.9 MB, free: 8.695 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009334/0.3408, allocations: 6.696 MB / 419.6 MB, free: 3.629 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.3409, allocations: 5.125 kB / 419.6 MB, free: 3.625 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.3409, allocations: 3.938 kB / 419.6 MB, free: 3.621 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002007/0.3411, allocations: 4 kB / 419.6 MB, free: 3.617 MB / 334.1 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.01177/0.3529, allocations: 4.395 MB / 424 MB, free: 15.37 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.3529, allocations: 8.031 kB / 424 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00427/0.3572, allocations: 0.8163 MB / 424.8 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004089/0.3613, allocations: 2.287 MB / 427.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001978/0.3615, allocations: 242.8 kB / 427.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005745/0.3621, allocations: 324.3 kB / 427.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006946/0.369, allocations: 4.274 MB / 431.9 MB, free: 7.312 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.179e-05/0.3691, allocations: 0 / 431.9 MB, free: 7.312 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002911/0.3694, allocations: 128 kB / 432 MB, free: 7.188 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001389/0.3696, allocations: 150.4 kB / 432.2 MB, free: 7.039 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005818/0.3754, allocations: 3.594 MB / 435.8 MB, free: 3.438 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02174/0.3972, allocations: 13.71 MB / 449.5 MB, free: 5.336 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007241/0.4044, allocations: 6.563 MB / 456.1 MB, free: 13.95 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002824/0.4073, allocations: 1.39 MB / 457.5 MB, free: 12.55 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007949/0.4153, allocations: 3.636 MB / 461.1 MB, free: 8.82 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.381e-05/0.4154, allocations: 51.88 kB / 461.1 MB, free: 8.762 MB / 382.1 MB Notification: Performance of pre-optimization done (n=134): time 6.271e-06/0.4154, allocations: 0 / 461.1 MB, free: 8.762 MB / 382.1 MB Notification: Performance of matching and sorting (n=137): time 0.01519/0.4306, allocations: 5.867 MB / 467 MB, free: 2.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.136e-05/0.4307, allocations: 68.72 kB / 467.1 MB, free: 2.602 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003869/0.4346, allocations: 1.784 MB / 468.9 MB, free: 0.8164 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001967/0.4348, allocations: 45.7 kB / 468.9 MB, free: 0.7656 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001328/0.4361, allocations: 1.446 MB / 470.3 MB, free: 15.3 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005509/0.4367, allocations: 485.1 kB / 470.8 MB, free: 14.82 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006486/0.4374, allocations: 315.2 kB / 471.1 MB, free: 14.51 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.4375, allocations: 301.1 kB / 471.4 MB, free: 14.21 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001803/0.4393, allocations: 0.6871 MB / 472.1 MB, free: 13.52 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002176/0.4415, allocations: 1.193 MB / 473.3 MB, free: 12.11 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003304/0.4448, allocations: 2.003 MB / 475.3 MB, free: 9.883 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.907e-05/0.4449, allocations: 4 kB / 475.3 MB, free: 9.879 MB / 398.1 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.00516/0.45, allocations: 2.539 MB / 477.8 MB, free: 7.297 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.493e-05/0.4501, allocations: 12 kB / 477.9 MB, free: 7.285 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.337e-05/0.4501, allocations: 16 kB / 477.9 MB, free: 7.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001276/0.4514, allocations: 364.2 kB / 478.2 MB, free: 6.898 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001937/0.4534, allocations: 375.4 kB / 478.6 MB, free: 6.531 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009632/0.463, allocations: 8.411 MB / 487 MB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002042/0.4651, allocations: 75.91 kB / 487.1 MB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003078/0.4654, allocations: 79.98 kB / 487.2 MB, free: 13.41 MB / 414.1 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.00221/0.4677, allocations: 0.9972 MB / 488.2 MB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005699/0.4682, allocations: 193.7 kB / 488.3 MB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005295/0.4735, allocations: 2.293 MB / 490.6 MB, free: 9.844 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.394e-05/0.4736, allocations: 16 kB / 490.7 MB, free: 9.828 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-05/0.4736, allocations: 8 kB / 490.7 MB, free: 9.82 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-05/0.4736, allocations: 7.969 kB / 490.7 MB, free: 9.812 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01116/0.4848, allocations: 5.079 MB / 495.8 MB, free: 4.594 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.634e-06/0.4849, allocations: 0 / 495.8 MB, free: 4.594 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009098/0.4858, allocations: 179.9 kB / 495.9 MB, free: 4.418 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001805/0.4876, allocations: 0.5203 MB / 496.4 MB, free: 3.879 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001611/0.4878, allocations: 43.98 kB / 496.5 MB, free: 3.836 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01418/0.502, allocations: 13.22 MB / 0.4978 GB, free: 5.785 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.502, allocations: 4.031 kB / 0.4978 GB, free: 5.781 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005162/0.5072, allocations: 3.214 MB / 0.5009 GB, free: 2.473 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001086/0.5083, allocations: 430.6 kB / 0.5013 GB, free: 2.031 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005055/0.5088, allocations: 39.94 kB / 0.5014 GB, free: 1.992 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001116/0.51, allocations: 55.95 kB / 0.5014 GB, free: 1.938 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00027/0.5102, allocations: 105.2 kB / 0.5015 GB, free: 1.836 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-05/0.5103, allocations: 39.98 kB / 0.5015 GB, free: 1.797 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002108/0.5125, allocations: 1.227 MB / 0.5027 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.5125, allocations: 0 / 0.5027 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002543/0.515, allocations: 0.5781 MB / 0.5033 GB, free: 0 / 430.1 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.0003745/0.5154, allocations: 171 kB / 0.5035 GB, free: 15.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003642/0.5191, allocations: 2.358 MB / 0.5058 GB, free: 13.39 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.5191, allocations: 4 kB / 0.5058 GB, free: 13.39 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00253/0.5216, allocations: 1.753 MB / 0.5075 GB, free: 11.55 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002726/0.5244, allocations: 0.5418 MB / 0.508 GB, free: 11.01 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01198/0.5364, allocations: 5.818 MB / 0.5137 GB, free: 5.137 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002661/0.5391, allocations: 2.253 MB / 0.5159 GB, free: 2.859 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006077/0.5397, allocations: 139.4 kB / 0.516 GB, free: 2.723 MB / 446.1 MB Notification: Performance of SimCode: time 1.042e-06/0.5397, allocations: 4 kB / 0.516 GB, free: 2.719 MB / 446.1 MB Notification: Performance of Templates: time 0.2858/0.8255, allocations: 129.1 MB / 0.6421 GB, free: 77.48 MB / 478.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/AIMC_Steinmetz/AIMC_Steinmetz.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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