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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 96.89 kB / 16.93 MB, free: 5.984 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.001182/0.001182, allocations: 179.4 kB / 17.82 MB, free: 5.652 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.577/1.577, allocations: 205.4 MB / 224 MB, free: 13.16 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.000497/0.0004973, allocations: 12 kB / 280.7 MB, free: 3.754 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1318, allocations: 47.59 MB / 328.3 MB, free: 4.102 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer): time 0.01721/0.1491, allocations: 13.47 MB / 341.8 MB, free: 6.574 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01426/0.1634, allocations: 5.496 MB / 347.3 MB, free: 1.062 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003498/0.167, allocations: 91.56 kB / 347.4 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003837/0.1708, allocations: 1.042 MB / 348.4 MB, free: 15.92 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006555/0.1774, allocations: 1.519 MB / 350 MB, free: 14.4 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00257/0.18, allocations: 0.7017 MB / 350.7 MB, free: 13.7 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.008155/0.1882, allocations: 4.168 MB / 354.8 MB, free: 9.52 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004241/0.1924, allocations: 3.481 MB / 358.3 MB, free: 5.984 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003482/0.1959, allocations: 1.942 MB / 360.3 MB, free: 4.035 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003661/0.1996, allocations: 2.33 MB / 362.6 MB, free: 1.695 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000665/0.2003, allocations: 328 kB / 362.9 MB, free: 1.375 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001821/0.2021, allocations: 0.5426 MB / 363.4 MB, free: 0.832 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001072/0.2032, allocations: 1.238 MB / 364.7 MB, free: 15.59 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001322/0.2045, allocations: 1.136 MB / 365.8 MB, free: 14.45 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008219/0.2128, allocations: 8.531 MB / 374.4 MB, free: 5.891 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.2128, allocations: 0 / 374.4 MB, free: 5.891 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.2128, allocations: 0 / 374.4 MB, free: 5.891 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.000297/0.2131, allocations: 0 / 374.4 MB, free: 5.891 MB / 318.1 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.01559/0.2287, allocations: 5.512 MB / 379.9 MB, free: 304 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.2288, allocations: 8.031 kB / 379.9 MB, free: 296 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2303/0.4591, allocations: 1.058 MB / 380.9 MB, free: 44.98 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009143/0.4683, allocations: 3.26 MB / 384.2 MB, free: 44.05 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003624/0.4687, allocations: 368.2 kB / 384.5 MB, free: 43.89 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00127/0.47, allocations: 484.8 kB / 385 MB, free: 43.73 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01649/0.4865, allocations: 6.805 MB / 391.8 MB, free: 40.95 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001146/0.4867, allocations: 10.69 kB / 391.8 MB, free: 40.95 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004913/0.4872, allocations: 197.8 kB / 392 MB, free: 40.8 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002456/0.4874, allocations: 244.3 kB / 392.3 MB, free: 40.78 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.011/0.4984, allocations: 5.908 MB / 398.2 MB, free: 37.8 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03243/0.5309, allocations: 21.01 MB / 419.2 MB, free: 18.69 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007572/0.5385, allocations: 9.946 MB / 429.1 MB, free: 7.711 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01101/0.5496, allocations: 5.434 MB / 434.6 MB, free: 2.219 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.804e-05/0.5497, allocations: 64.55 kB / 434.6 MB, free: 2.145 MB / 318.1 MB Notification: Performance of pre-optimization done (n=227): time 5.821e-06/0.5497, allocations: 0 / 434.6 MB, free: 2.145 MB / 318.1 MB Notification: Performance of matching and sorting (n=234): time 0.0209/0.5706, allocations: 9.821 MB / 444.4 MB, free: 8.137 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.161e-05/0.5708, allocations: 77.36 kB / 444.5 MB, free: 8.051 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006801/0.5776, allocations: 2.925 MB / 447.4 MB, free: 5.109 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007147/0.5783, allocations: 65.7 kB / 447.5 MB, free: 5.039 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002472/0.5808, allocations: 2.153 MB / 449.7 MB, free: 2.871 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001222/0.5821, allocations: 0.7874 MB / 450.5 MB, free: 2.09 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003266/0.5824, allocations: 52 kB / 450.5 MB, free: 2.039 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002699/0.5827, allocations: 411.3 kB / 450.9 MB, free: 1.633 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002623/0.5853, allocations: 1.328 MB / 452.2 MB, free: 308 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003155/0.5885, allocations: 1.934 MB / 454.2 MB, free: 14.11 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003215/0.5917, allocations: 1.63 MB / 455.8 MB, free: 12.46 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-05/0.5918, allocations: 4 kB / 455.8 MB, free: 12.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=334) (initialization): time 0.008598/0.6004, allocations: 4.315 MB / 460.1 MB, free: 8.055 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.261e-05/0.6004, allocations: 15.95 kB / 460.1 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-05/0.6005, allocations: 16 kB / 460.2 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002751/0.6033, allocations: 0.7829 MB / 460.9 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00261/0.6059, allocations: 0.585 MB / 461.5 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01167/0.6176, allocations: 10.2 MB / 471.7 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003168/0.6208, allocations: 120 kB / 471.8 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005546/0.6214, allocations: 104.1 kB / 471.9 MB, free: 11.71 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 80 * Number of states: 0 () * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],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 (284): * Single equations (assignments): 279 * 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 {(1,100.0%) 8,(1,100.0%) 1,(3,88.9%) 25,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004222/0.6256, allocations: 1.621 MB / 473.6 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001193/0.6268, allocations: 324.1 kB / 473.9 MB, free: 9.758 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007745/0.6346, allocations: 4 MB / 477.9 MB, free: 5.684 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.261e-05/0.6346, allocations: 24 kB / 477.9 MB, free: 5.66 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.072e-05/0.6347, allocations: 8 kB / 477.9 MB, free: 5.652 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.551e-05/0.6347, allocations: 11.95 kB / 477.9 MB, free: 5.641 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02085/0.6556, allocations: 8.701 MB / 486.6 MB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.878e-05/0.6556, allocations: 7.953 kB / 486.6 MB, free: 12.83 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001734/0.6574, allocations: 363.5 kB / 487 MB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003404/0.6608, allocations: 0.9339 MB / 487.9 MB, free: 11.53 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002583/0.6611, allocations: 59.97 kB / 488 MB, free: 11.47 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01667/0.6778, allocations: 14.65 MB / 0.4908 GB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.6778, allocations: 4.031 kB / 0.4908 GB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01113/0.689, allocations: 6.024 MB / 0.4967 GB, free: 5.867 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00236/0.6914, allocations: 0.6963 MB / 0.4974 GB, free: 5.148 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009984/0.6924, allocations: 55.98 kB / 0.4975 GB, free: 5.094 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002213/0.6946, allocations: 131.9 kB / 0.4976 GB, free: 4.965 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005996/0.6953, allocations: 185.8 kB / 0.4978 GB, free: 4.781 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002367/0.6955, allocations: 71.94 kB / 0.4978 GB, free: 4.711 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.004602/0.7001, allocations: 2.003 MB / 0.4998 GB, free: 2.707 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.12e-07/0.7001, allocations: 0 / 0.4998 GB, free: 2.707 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004784/0.7049, allocations: 0.9427 MB / 0.5007 GB, free: 1.77 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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,transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],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%) 13,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008382/0.7058, allocations: 231.5 kB / 0.5009 GB, free: 1.543 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00753/0.7133, allocations: 3.97 MB / 0.5048 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.246e-05/0.7134, allocations: 7.938 kB / 0.5048 GB, free: 13.49 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004869/0.7183, allocations: 2.694 MB / 0.5074 GB, free: 10.72 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005822/0.7241, allocations: 0.8462 MB / 0.5083 GB, free: 9.875 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0242/0.7483, allocations: 11.29 MB / 0.5193 GB, free: 14.53 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005299/0.7537, allocations: 3.519 MB / 0.5227 GB, free: 10.97 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003631/0.7574, allocations: 0.7566 MB / 0.5235 GB, free: 10.21 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000951/0.7584, allocations: 195.4 kB / 0.5237 GB, free: 10.02 MB / 430.1 MB Notification: Performance of SimCode: time 1.213e-06/0.7584, allocations: 0 / 0.5237 GB, free: 10.02 MB / 430.1 MB Notification: Performance of Templates: time 0.3152/1.074, allocations: 46.98 MB / 0.5695 GB, free: 121.5 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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