Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.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_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|// aimcE.i_0_s|aimcE.idq_rr.1.|aimcE.idq_rr.2.|aimcE.idq_sr.1.|aimcE.idq_sr.2.|aimcE.is.1.|aimcE.is.2.|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimcM.stator.strayReluctance.port_p.Phi.im|aimcM.stator.strayReluctance.port_p.Phi.re|// aimcM.stator.zeroInductor.i0|aimcM.is.1.|aimcM.is.2.|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|// aimcE.i_0_s|aimcE.idq_rr.1.|aimcE.idq_rr.2.|aimcE.idq_sr.1.|aimcE.idq_sr.2.|aimcE.is.1.|aimcE.is.2.|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimcM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimcM.stator.strayReluctance.port_p.Phi.im|aimcM.stator.strayReluctance.port_p.Phi.re|// aimcM.stator.zeroInductor.i0|aimcM.is.1.|aimcM.is.2.|loadInertiaE.phi|loadInertiaE.w|loadInertiaM.phi|loadInertiaM.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00174/0.00174, allocations: 181.3 kB / 17.41 MB, free: 4.41 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.549/2.549, allocations: 205.4 MB / 223.6 MB, free: 9.031 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.0007752/0.000775, allocations: 90.39 kB / 271.9 MB, free: 8.258 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000321/0.0003211, allocations: 8 kB / 328.2 MB, free: 15.94 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3767/0.377, allocations: 47.57 MB / 375.7 MB, free: 45.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1367/0.5138, allocations: 122.6 MB / 498.3 MB, free: 5.965 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002599/0.5141, allocations: 95.95 kB / 498.4 MB, free: 5.871 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3807/0.8948, allocations: 117.2 MB / 0.6012 GB, free: 15.74 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.005e-06/0.8949, allocations: 0 / 0.6012 GB, free: 15.74 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0005888/0.8955, allocations: 131.8 kB / 0.6013 GB, free: 15.61 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: 1348 * Number of variables: 1348 Notification: Performance of Generate backend data structure: time 0.01564/0.9112, allocations: 5.369 MB / 0.6066 GB, free: 10.16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.9112, allocations: 8.031 kB / 0.6066 GB, free: 10.15 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005338/0.9166, allocations: 1.005 MB / 0.6076 GB, free: 9.141 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009458/0.926, allocations: 4.021 MB / 0.6115 GB, free: 5.043 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003808/0.9265, allocations: 390.7 kB / 0.6119 GB, free: 4.66 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001831/0.9283, allocations: 0.5002 MB / 0.6124 GB, free: 4.16 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01597/0.9443, allocations: 6.882 MB / 0.6191 GB, free: 13.08 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002518/0.9446, allocations: 23.78 kB / 0.6191 GB, free: 13.05 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00121/0.9458, allocations: 216 kB / 0.6193 GB, free: 12.84 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002533/0.9461, allocations: 230.2 kB / 0.6195 GB, free: 12.62 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01242/0.9585, allocations: 5.596 MB / 0.625 GB, free: 7.012 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0399/0.9984, allocations: 21.47 MB / 0.646 GB, free: 1.066 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1686/1.167, allocations: 8.744 MB / 0.6545 GB, free: 54.9 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002958/1.17, allocations: 2.269 MB / 0.6567 GB, free: 54.87 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008831/1.179, allocations: 6.212 MB / 0.6628 GB, free: 54.19 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/1.179, allocations: 55.53 kB / 0.6628 GB, free: 54.14 MB / 410.7 MB Notification: Performance of pre-optimization done (n=222): time 3.576e-06/1.179, allocations: 0 / 0.6628 GB, free: 54.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=241): time 0.02439/1.203, allocations: 11.58 MB / 0.6741 GB, free: 52.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.659e-05/1.204, allocations: 74.97 kB / 0.6742 GB, free: 52.24 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005419/1.209, allocations: 2.941 MB / 0.6771 GB, free: 52 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000604/1.21, allocations: 66.55 kB / 0.6772 GB, free: 51.96 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001568/1.211, allocations: 2.297 MB / 0.6794 GB, free: 51.24 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009757/1.212, allocations: 0.8186 MB / 0.6802 GB, free: 50.73 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001783/1.212, allocations: 59.97 kB / 0.6803 GB, free: 50.73 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001834/1.213, allocations: 422.8 kB / 0.6807 GB, free: 50.42 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002189/1.215, allocations: 1.354 MB / 0.682 GB, free: 50.41 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002937/1.218, allocations: 2.117 MB / 0.684 GB, free: 49.56 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005994/1.224, allocations: 3.681 MB / 0.6876 GB, free: 48.68 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.616e-05/1.224, allocations: 6.625 kB / 0.6876 GB, free: 48.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=367) (initialization): time 0.008748/1.233, allocations: 4.654 MB / 0.6922 GB, free: 48.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.994e-05/1.233, allocations: 15.38 kB / 0.6922 GB, free: 48.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.721e-05/1.233, allocations: 22.84 kB / 0.6922 GB, free: 48.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001888/1.235, allocations: 0.7538 MB / 0.693 GB, free: 48.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00262/1.237, allocations: 0.6439 MB / 0.6936 GB, free: 48.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01093/1.248, allocations: 13.4 MB / 0.7067 GB, free: 38.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003999/1.252, allocations: 162.1 kB / 0.7068 GB, free: 38.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007379/1.253, allocations: 115.5 kB / 0.7069 GB, free: 38.33 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * Number of states: 0 () * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (324): * Single equations (assignments): 314 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(2,100.0%) 12,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 13,(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004465/1.257, allocations: 1.605 MB / 0.7085 GB, free: 37.53 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00106/1.259, allocations: 322.4 kB / 0.7088 GB, free: 37.36 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007671/1.266, allocations: 4.23 MB / 0.713 GB, free: 35.53 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.276e-05/1.266, allocations: 24.38 kB / 0.713 GB, free: 35.53 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.396e-05/1.266, allocations: 13.5 kB / 0.713 GB, free: 35.52 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-05/1.266, allocations: 17.11 kB / 0.713 GB, free: 35.52 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02508/1.291, allocations: 9.161 MB / 0.722 GB, free: 31.65 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.259e-05/1.292, allocations: 7.469 kB / 0.722 GB, free: 31.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002904/1.294, allocations: 384.5 kB / 0.7223 GB, free: 31.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004046/1.299, allocations: 0.9229 MB / 0.7232 GB, free: 31.36 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006406/1.299, allocations: 64.92 kB / 0.7233 GB, free: 31.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02047/1.32, allocations: 16.56 MB / 0.7395 GB, free: 17.86 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.618e-06/1.32, allocations: 9.281 kB / 0.7395 GB, free: 17.86 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01472/1.335, allocations: 6.09 MB / 0.7454 GB, free: 15.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002784/1.337, allocations: 0.7084 MB / 0.7461 GB, free: 14.66 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001009/1.338, allocations: 54.97 kB / 0.7462 GB, free: 14.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002792/1.341, allocations: 147.3 kB / 0.7463 GB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007048/1.342, allocations: 195.8 kB / 0.7465 GB, free: 14.56 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002584/1.342, allocations: 68.81 kB / 0.7466 GB, free: 14.54 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004558/1.347, allocations: 2.003 MB / 0.7485 GB, free: 13.79 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.91e-07/1.347, allocations: 2.5 kB / 0.7485 GB, free: 13.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006265/1.353, allocations: 1.011 MB / 0.7495 GB, free: 13.69 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 14 (aimcM.inertiaRotor.w,aimcM.stator.core.Phi.re,aimcM.stator.core.Phi.im,aimcM.stator.zeroInductor.i0,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,aimcE.inertiaRotor.w,aimcE.i_0_s,aimcE.idq_sr[1],aimcE.idq_sr[2],aimcE.idq_rr[1],aimcE.idq_rr[2],quadraticLoadTorqueM.phi,quadraticLoadTorqueE.phi) * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (182): * 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: 8 * 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: 8 {(2,100.0%) 12,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 1,(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.001166/1.354, allocations: 458.1 kB / 0.7499 GB, free: 13.54 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.009021/1.363, allocations: 4.596 MB / 0.7544 GB, free: 10.16 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.136e-05/1.363, allocations: 4 kB / 0.7544 GB, free: 10.16 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005803/1.369, allocations: 3.071 MB / 0.7574 GB, free: 7.34 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008843/1.378, allocations: 0.856 MB / 0.7583 GB, free: 6.676 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02795/1.406, allocations: 12.39 MB / 0.7704 GB, free: 12.89 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003594/1.41, allocations: 3.349 MB / 0.7736 GB, free: 10.28 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001127/1.411, allocations: 233.1 kB / 0.7739 GB, free: 10.07 MB / 426.7 MB Notification: Performance of SimCode: time 1.223e-06/1.411, allocations: 4 kB / 0.7739 GB, free: 10.07 MB / 426.7 MB Notification: Performance of Templates: time 0.7747/2.186, allocations: 313.8 MB / 1.08 GB, free: 85.25 MB / 490.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_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_DOL/AIMC_DOL.csv","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches