Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.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: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMR_Inverter_MultiPhase",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMR_Inverter_MultiPhase",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001625/0.001625, allocations: 114.5 kB / 17.73 MB, free: 5.312 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.001745/0.001745, allocations: 187 kB / 18.66 MB, free: 4.387 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.531/1.531, allocations: 205.1 MB / 224.5 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.001709/0.001709, allocations: 43.94 kB / 328 MB, free: 3.781 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1084, allocations: 46.62 MB / 374.7 MB, free: 5.051 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase): time 0.2356/0.344, allocations: 23.72 MB / 398.4 MB, free: 14.65 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01841/0.3624, allocations: 6.547 MB / 404.9 MB, free: 9.836 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007923/0.3704, allocations: 145.1 kB / 405.1 MB, free: 9.797 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007467/0.378, allocations: 1.572 MB / 406.6 MB, free: 8.934 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01215/0.3903, allocations: 2.115 MB / 408.8 MB, free: 7.508 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005469/0.3957, allocations: 1.455 MB / 410.2 MB, free: 6.566 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01569/0.4114, allocations: 8.082 MB / 418.3 MB, free: 1.703 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01999/0.4315, allocations: 7.153 MB / 425.4 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01131/0.4429, allocations: 3.805 MB / 429.3 MB, free: 9.391 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01064/0.4536, allocations: 4.425 MB / 433.7 MB, free: 4.949 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004848/0.4585, allocations: 1.094 MB / 434.8 MB, free: 3.855 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007024/0.4655, allocations: 1.301 MB / 436.1 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005944/0.4715, allocations: 2.435 MB / 438.5 MB, free: 116 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01314/0.4847, allocations: 4.516 MB / 443 MB, free: 11.58 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02748/0.5122, allocations: 14.23 MB / 457.2 MB, free: 13.31 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.042e-05/0.5123, allocations: 0 / 457.2 MB, free: 13.31 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.5123, allocations: 0 / 457.2 MB, free: 13.31 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005881/0.5129, allocations: 4 kB / 457.3 MB, free: 13.3 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1854 * Number of variables: 1854 Notification: Performance of Generate backend data structure: time 0.03128/0.5442, allocations: 9.026 MB / 466.3 MB, free: 4.172 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.359e-05/0.5443, allocations: 12.03 kB / 466.3 MB, free: 4.16 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003094/0.5474, allocations: 0.9511 MB / 467.2 MB, free: 3.195 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01015/0.5576, allocations: 1.702 MB / 468.9 MB, free: 1.488 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01229/0.5699, allocations: 4.574 MB / 473.5 MB, free: 12.84 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006488/0.5706, allocations: 0.5143 MB / 474 MB, free: 12.32 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002747/0.5733, allocations: 0.6834 MB / 474.7 MB, free: 11.64 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02517/0.5985, allocations: 9.443 MB / 484.2 MB, free: 2.133 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001847/0.5988, allocations: 7.891 kB / 484.2 MB, free: 2.125 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00127/0.6, allocations: 284 kB / 484.4 MB, free: 1.848 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003789/0.6004, allocations: 338.2 kB / 484.8 MB, free: 1.516 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02049/0.6209, allocations: 8.051 MB / 492.8 MB, free: 9.453 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0592/0.6802, allocations: 28.49 MB / 0.5091 GB, free: 12.34 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0177/0.6979, allocations: 16.59 MB / 0.5253 GB, free: 9.859 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00536/0.7033, allocations: 2.912 MB / 0.5281 GB, free: 6.93 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01435/0.7177, allocations: 7.699 MB / 0.5357 GB, free: 15.07 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.224e-05/0.7178, allocations: 64.61 kB / 0.5357 GB, free: 15 MB / 478.1 MB Notification: Performance of pre-optimization done (n=259): time 5.71e-06/0.7179, allocations: 0 / 0.5357 GB, free: 15 MB / 478.1 MB Notification: Performance of matching and sorting (n=265): time 0.02479/0.7426, allocations: 11.09 MB / 0.5466 GB, free: 3.582 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.627e-05/0.7428, allocations: 81.5 kB / 0.5466 GB, free: 3.488 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005511/0.7483, allocations: 3.377 MB / 0.5499 GB, free: 120 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004396/0.7487, allocations: 69.7 kB / 0.55 GB, free: 44 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.2144/0.9631, allocations: 3.123 MB / 0.5531 GB, free: 145.6 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001099/0.9643, allocations: 0.9597 MB / 0.554 GB, free: 144.9 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001062/0.9653, allocations: 0.5933 MB / 0.5546 GB, free: 144.6 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 4.785e-05/0.9654, allocations: 306.8 kB / 0.5549 GB, free: 144.3 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002584/0.968, allocations: 1.394 MB / 0.5562 GB, free: 143.8 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002847/0.9708, allocations: 2.427 MB / 0.5586 GB, free: 142 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005552/0.9764, allocations: 4.079 MB / 0.5626 GB, free: 139.3 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.322e-05/0.9765, allocations: 13.03 kB / 0.5626 GB, free: 139.3 MB / 478.1 MB Notification: Performance of matching and sorting (n=436) (initialization): time 0.009516/0.986, allocations: 4.714 MB / 0.5672 GB, free: 137.2 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.737e-05/0.9861, allocations: 19.06 kB / 0.5672 GB, free: 137.2 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.54e-05/0.9862, allocations: 35.06 kB / 0.5672 GB, free: 137.2 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009869/0.9872, allocations: 393.2 kB / 0.5676 GB, free: 137.1 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003146/0.9903, allocations: 0.7934 MB / 0.5684 GB, free: 137 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00638/0.9967, allocations: 7.977 MB / 0.5762 GB, free: 130.1 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003317/1, allocations: 163.2 kB / 0.5763 GB, free: 130 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005477/1.001, allocations: 150.9 kB / 0.5765 GB, free: 130 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 146 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (411): * Single equations (assignments): 405 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {(2,100.0%), (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,1,100.0%), (1,5,100.0%), (1,1,100.0%), (3,14,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004613/1.005, allocations: 2.076 MB / 0.5785 GB, free: 128.9 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009906/1.006, allocations: 380.8 kB / 0.5789 GB, free: 128.7 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007384/1.014, allocations: 4.224 MB / 0.583 GB, free: 126.7 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.27e-05/1.014, allocations: 26.12 kB / 0.583 GB, free: 126.7 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.679e-05/1.014, allocations: 12.38 kB / 0.583 GB, free: 126.7 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.622e-05/1.014, allocations: 15.58 kB / 0.583 GB, free: 126.7 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01608/1.03, allocations: 9.874 MB / 0.5927 GB, free: 122.4 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-05/1.03, allocations: 3.875 kB / 0.5927 GB, free: 122.4 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001602/1.032, allocations: 398.9 kB / 0.5931 GB, free: 122.3 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00191/1.033, allocations: 0.8588 MB / 0.5939 GB, free: 122.1 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001857/1.034, allocations: 73.86 kB / 0.594 GB, free: 122 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01287/1.047, allocations: 17.52 MB / 0.6111 GB, free: 106.1 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/1.047, allocations: 4 kB / 0.6111 GB, free: 106.1 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008061/1.055, allocations: 6.059 MB / 0.617 GB, free: 99.89 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001678/1.056, allocations: 0.7581 MB / 0.6178 GB, free: 99.11 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004928/1.057, allocations: 67.98 kB / 0.6178 GB, free: 99.04 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00161/1.059, allocations: 127.9 kB / 0.6179 GB, free: 98.92 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004527/1.059, allocations: 201.6 kB / 0.6181 GB, free: 98.72 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001426/1.059, allocations: 83.97 kB / 0.6182 GB, free: 98.64 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002965/1.062, allocations: 2.29 MB / 0.6204 GB, free: 96.36 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.6e-07/1.062, allocations: 0 / 0.6204 GB, free: 96.36 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004278/1.066, allocations: 1.145 MB / 0.6216 GB, free: 95.22 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 14 (smrM.inertiaRotor.w,smrM.stator.core.Phi.re,smrM.stator.core.Phi.im,smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smrM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,smr3.inertiaRotor.w,smr3.stator.core.Phi.re,smr3.stator.core.Phi.im,smr3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smr3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,loadInertiaM.phi,loadInertia3.phi,vfController3.x,vfControllerM.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (198): * Single equations (assignments): 191 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 7 systems {(1,5,100.0%), (4,33,93.8%), (1,1,100.0%), (1,1,100.0%), (1,8,100.0%), (2,12,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.008208/1.075, allocations: 6.724 MB / 0.6281 GB, free: 88.3 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005833/1.08, allocations: 4.125 MB / 0.6322 GB, free: 84.06 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.227e-06/1.081, allocations: 0 / 0.6322 GB, free: 84.06 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003731/1.084, allocations: 2.866 MB / 0.635 GB, free: 81.1 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005152/1.089, allocations: 0.9996 MB / 0.6359 GB, free: 80.11 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06279/1.152, allocations: 39.3 MB / 0.6743 GB, free: 39.49 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004298/1.157, allocations: 4.221 MB / 0.6784 GB, free: 35.24 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003008/1.16, allocations: 0.8443 MB / 0.6793 GB, free: 34.39 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002812/1.163, allocations: 2.534 MB / 0.6817 GB, free: 31.86 MB / 478.1 MB Notification: Performance of SimCode: time 1.734e-06/1.163, allocations: 0 / 0.6817 GB, free: 31.86 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4016/1.564, allocations: 99.31 MB / 0.7787 GB, free: 154.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.47/20.03, allocations: 14.66 kB / 0.7787 GB, free: 154.5 MB / 0.4981 GB (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMR_Inverter_MultiPhase_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMR_Inverter_MultiPhase.fmu > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SMR_Inverter_MultiPhase/SMR_Inverter_MultiPhase.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMR_Inverter_MultiPhase.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches