Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.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_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,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.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,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.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001008/0.001007, allocations: 180.5 kB / 17.01 MB, free: 5.125 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.715/1.715, allocations: 205.4 MB / 223.1 MB, free: 9.113 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.0009209/0.0009208, allocations: 96.09 kB / 271.5 MB, free: 8.352 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002601/0.0002601, allocations: 4 kB / 328.3 MB, free: 15.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2733/0.2736, allocations: 47.57 MB / 375.8 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1438/0.4175, allocations: 118.2 MB / 494 MB, free: 10.43 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003699/0.4179, allocations: 91.95 kB / 494.1 MB, free: 10.34 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5143/0.9323, allocations: 132.8 MB / 0.6122 GB, free: 3.727 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.9323, allocations: 0 / 0.6122 GB, free: 3.727 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003326/0.9327, allocations: 119.9 kB / 0.6123 GB, free: 3.609 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1287 * Number of variables: 1287 Notification: Performance of Generate backend data structure: time 0.01393/0.9466, allocations: 5.278 MB / 0.6175 GB, free: 14.25 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.713e-05/0.9467, allocations: 12.03 kB / 0.6175 GB, free: 14.24 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005236/0.9519, allocations: 0.9813 MB / 0.6185 GB, free: 13.25 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01055/0.9625, allocations: 4.504 MB / 0.6229 GB, free: 8.668 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002734/0.9628, allocations: 369.7 kB / 0.6232 GB, free: 8.305 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008395/0.9637, allocations: 491.9 kB / 0.6237 GB, free: 7.824 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01202/0.9757, allocations: 6.727 MB / 0.6302 GB, free: 0.9062 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.95e-05/0.9758, allocations: 4 kB / 0.6302 GB, free: 0.9023 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004918/0.9763, allocations: 208 kB / 0.6304 GB, free: 0.6992 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002162/0.9765, allocations: 237.8 kB / 0.6307 GB, free: 476 kB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01036/0.9869, allocations: 5.59 MB / 0.6361 GB, free: 10.86 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2678/1.255, allocations: 20.99 MB / 0.6566 GB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007658/1.262, allocations: 9.933 MB / 0.6663 GB, free: 35.98 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01025/1.273, allocations: 5.476 MB / 0.6717 GB, free: 35.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.548e-05/1.273, allocations: 55.56 kB / 0.6717 GB, free: 35.25 MB / 410.7 MB Notification: Performance of pre-optimization done (n=227): time 4.458e-06/1.273, allocations: 2.219 kB / 0.6717 GB, free: 35.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=234): time 0.0203/1.293, allocations: 10.03 MB / 0.6815 GB, free: 33.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/1.293, allocations: 76.84 kB / 0.6816 GB, free: 33.09 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004296/1.298, allocations: 2.639 MB / 0.6842 GB, free: 32.87 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002213/1.298, allocations: 67.89 kB / 0.6842 GB, free: 32.84 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001546/1.299, allocations: 2.148 MB / 0.6863 GB, free: 32.18 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006794/1.3, allocations: 0.7836 MB / 0.6871 GB, free: 31.77 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001384/1.3, allocations: 53.47 kB / 0.6872 GB, free: 31.77 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001578/1.3, allocations: 414.7 kB / 0.6876 GB, free: 31.46 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002148/1.302, allocations: 1.301 MB / 0.6888 GB, free: 31.46 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002426/1.305, allocations: 1.875 MB / 0.6907 GB, free: 30.84 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002686/1.308, allocations: 1.602 MB / 0.6922 GB, free: 30.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.409e-05/1.308, allocations: 8.562 kB / 0.6922 GB, free: 30.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=327) (initialization): time 0.006744/1.314, allocations: 4.241 MB / 0.6964 GB, free: 30.37 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.402e-05/1.314, allocations: 9.906 kB / 0.6964 GB, free: 30.37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.639e-05/1.314, allocations: 17.19 kB / 0.6964 GB, free: 30.37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001534/1.316, allocations: 0.6514 MB / 0.697 GB, free: 30.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002115/1.318, allocations: 0.5641 MB / 0.6976 GB, free: 30.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009153/1.327, allocations: 10.22 MB / 0.7076 GB, free: 25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003066/1.33, allocations: 110.2 kB / 0.7077 GB, free: 25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002851/1.331, allocations: 102.7 kB / 0.7078 GB, free: 25 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 73 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (277): * Single equations (assignments): 272 * 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: 4 * 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: 4 {(3,100.0%) 25,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003431/1.334, allocations: 1.622 MB / 0.7094 GB, free: 24.87 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008516/1.335, allocations: 325.5 kB / 0.7097 GB, free: 24.71 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006233/1.341, allocations: 3.993 MB / 0.7136 GB, free: 23.77 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.862e-05/1.341, allocations: 29.17 kB / 0.7136 GB, free: 23.76 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.535e-05/1.341, allocations: 10.66 kB / 0.7136 GB, free: 23.76 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.057e-05/1.341, allocations: 11.3 kB / 0.7136 GB, free: 23.76 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01811/1.359, allocations: 8.728 MB / 0.7221 GB, free: 20.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.316e-05/1.36, allocations: 3.625 kB / 0.7221 GB, free: 20.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001646/1.361, allocations: 356 kB / 0.7225 GB, free: 20.03 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002175/1.363, allocations: 0.816 MB / 0.7233 GB, free: 19.79 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002542/1.364, allocations: 61.19 kB / 0.7233 GB, free: 19.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.013/1.377, allocations: 14.67 MB / 0.7377 GB, free: 8.426 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/1.377, allocations: 2.953 kB / 0.7377 GB, free: 8.426 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009662/1.386, allocations: 6.009 MB / 0.7435 GB, free: 5.582 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002409/1.389, allocations: 0.7008 MB / 0.7442 GB, free: 5.133 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001132/1.39, allocations: 62.45 kB / 0.7443 GB, free: 5.094 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002248/1.392, allocations: 123.6 kB / 0.7444 GB, free: 5.066 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005058/1.393, allocations: 195 kB / 0.7446 GB, free: 5.035 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002074/1.393, allocations: 66.66 kB / 0.7446 GB, free: 5.023 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004398/1.397, allocations: 2.036 MB / 0.7466 GB, free: 4.246 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/1.397, allocations: 0 / 0.7466 GB, free: 4.246 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004971/1.402, allocations: 0.9894 MB / 0.7476 GB, free: 4.148 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 9 (aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.zeroInductor.i0,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (164): * Single equations (assignments): 158 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 8,(3,88.9%) 25,(1,100.0%) 8,(1,100.0%) 1,(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.0009402/1.403, allocations: 448.5 kB / 0.748 GB, free: 4 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006403/1.41, allocations: 3.947 MB / 0.7519 GB, free: 2.25 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/1.41, allocations: 3.062 kB / 0.7519 GB, free: 2.25 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004048/1.414, allocations: 2.697 MB / 0.7545 GB, free: 0.8086 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005274/1.419, allocations: 0.8659 MB / 0.7554 GB, free: 0.6016 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02408/1.443, allocations: 11.28 MB / 0.7664 GB, free: 10.65 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006096/1.449, allocations: 3.524 MB / 0.7698 GB, free: 7.973 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003924/1.453, allocations: 0.7468 MB / 0.7705 GB, free: 7.453 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001061/1.454, allocations: 187.2 kB / 0.7707 GB, free: 7.273 MB / 426.7 MB Notification: Performance of SimCode: time 1.422e-06/1.454, allocations: 0 / 0.7707 GB, free: 7.273 MB / 426.7 MB Notification: Performance of Templates: time 0.3501/1.805, allocations: 51.51 MB / 0.821 GB, free: 62.82 MB / 442.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/AIMC_Transformer/AIMC_Transformer.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches