Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_ComparisonPolyphase_SMR_Inverter_Polyphase",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_ComparisonPolyphase_SMR_Inverter_Polyphase",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00133/0.00133, allocations: 121.8 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001309/0.001309, allocations: 201.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.456/1.456, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001816/0.001816, allocations: 63.88 kB / 358.3 MB, free: 13.33 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2962/0.298, allocations: 50.55 MB / 408.9 MB, free: 1.469 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase): time 0.03094/0.329, allocations: 25.01 MB / 433.9 MB, free: 8.352 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01623/0.3453, allocations: 6.903 MB / 440.8 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005021/0.3504, allocations: 167.4 kB / 440.9 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005382/0.3558, allocations: 1.599 MB / 442.5 MB, free: 15.66 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008378/0.3642, allocations: 2.127 MB / 444.7 MB, free: 13.52 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004976/0.3692, allocations: 1.483 MB / 446.2 MB, free: 12.04 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01308/0.3823, allocations: 8.151 MB / 454.3 MB, free: 3.859 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01058/0.3929, allocations: 7.3 MB / 461.6 MB, free: 12.46 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006946/0.3999, allocations: 3.84 MB / 465.4 MB, free: 8.613 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008975/0.4089, allocations: 4.687 MB / 470.1 MB, free: 3.91 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003155/0.4121, allocations: 1.098 MB / 471.2 MB, free: 2.812 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004425/0.4166, allocations: 1.324 MB / 472.6 MB, free: 1.488 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003707/0.4203, allocations: 2.447 MB / 475 MB, free: 15.04 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00912/0.4294, allocations: 4.532 MB / 479.5 MB, free: 10.48 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02108/0.4506, allocations: 14.31 MB / 493.8 MB, free: 12.13 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.4506, allocations: 0 / 493.8 MB, free: 12.13 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.4506, allocations: 0 / 493.8 MB, free: 12.13 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004433/0.4511, allocations: 0 / 493.8 MB, free: 12.13 MB / 414.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.02931/0.4804, allocations: 9.081 MB / 0.4911 GB, free: 2.941 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/0.4805, allocations: 12.03 kB / 0.4911 GB, free: 2.93 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002654/0.4831, allocations: 0.955 MB / 0.4921 GB, free: 1.961 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009903/0.493, allocations: 1.674 MB / 0.4937 GB, free: 288 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01061/0.5037, allocations: 4.891 MB / 0.4985 GB, free: 11.32 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004962/0.5042, allocations: 0.5141 MB / 0.499 GB, free: 10.8 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002151/0.5064, allocations: 0.6834 MB / 0.4997 GB, free: 10.12 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02012/0.5265, allocations: 9.462 MB / 0.5089 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001466/0.5267, allocations: 11.95 kB / 0.5089 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007402/0.5274, allocations: 288 kB / 0.5092 GB, free: 304 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004185/0.5279, allocations: 334.2 kB / 0.5095 GB, free: 15.96 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01794/0.5458, allocations: 8.086 MB / 0.5174 GB, free: 7.871 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2931/0.8389, allocations: 28.69 MB / 0.5454 GB, free: 104.9 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01257/0.8515, allocations: 17.75 MB / 0.5627 GB, free: 90.93 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006128/0.8577, allocations: 3.668 MB / 0.5663 GB, free: 90.39 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01175/0.8695, allocations: 8.934 MB / 0.5751 GB, free: 85.62 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.531e-05/0.8696, allocations: 60.05 kB / 0.5751 GB, free: 85.55 MB / 462.1 MB Notification: Performance of pre-optimization done (n=259): time 4.599e-06/0.8696, allocations: 0 / 0.5751 GB, free: 85.55 MB / 462.1 MB Notification: Performance of matching and sorting (n=265): time 0.02262/0.8922, allocations: 11.82 MB / 0.5867 GB, free: 78.75 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/0.8923, allocations: 80.53 kB / 0.5867 GB, free: 78.68 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004487/0.8968, allocations: 3.409 MB / 0.5901 GB, free: 76.09 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004049/0.8972, allocations: 73.7 kB / 0.5901 GB, free: 76.01 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00145/0.8987, allocations: 3.146 MB / 0.5932 GB, free: 73.25 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006253/0.8993, allocations: 0.9552 MB / 0.5941 GB, free: 72.3 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007395/0.9, allocations: 0.6054 MB / 0.5947 GB, free: 71.69 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.459e-05/0.9001, allocations: 301.1 kB / 0.595 GB, free: 71.39 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001843/0.9019, allocations: 1.447 MB / 0.5964 GB, free: 69.94 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002097/0.9041, allocations: 2.493 MB / 0.5989 GB, free: 66.99 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004118/0.9082, allocations: 4.199 MB / 0.603 GB, free: 62.31 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.448e-05/0.9082, allocations: 8 kB / 0.603 GB, free: 62.3 MB / 462.1 MB Notification: Performance of matching and sorting (n=436) (initialization): time 0.006666/0.9149, allocations: 5.047 MB / 0.6079 GB, free: 57.17 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.003e-05/0.9149, allocations: 20 kB / 0.6079 GB, free: 57.15 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.365e-05/0.915, allocations: 32 kB / 0.6079 GB, free: 57.12 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00125/0.9162, allocations: 0.5695 MB / 0.6085 GB, free: 56.54 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002603/0.9188, allocations: 0.78 MB / 0.6093 GB, free: 55.75 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007174/0.926, allocations: 9.467 MB / 0.6185 GB, free: 45.74 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00369/0.9298, allocations: 163.8 kB / 0.6187 GB, free: 45.58 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003818/0.9302, allocations: 148 kB / 0.6188 GB, free: 45.44 MB / 462.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 (406): * Single equations (assignments): 400 * 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,8,100.0%), (1,1,100.0%), (3,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003802/0.934, allocations: 2.082 MB / 0.6208 GB, free: 43.34 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009574/0.9349, allocations: 385.6 kB / 0.6212 GB, free: 42.96 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006702/0.9416, allocations: 4.545 MB / 0.6256 GB, free: 38.3 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.669e-05/0.9417, allocations: 24 kB / 0.6257 GB, free: 38.28 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.625e-05/0.9417, allocations: 16 kB / 0.6257 GB, free: 38.27 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.085e-05/0.9417, allocations: 11.95 kB / 0.6257 GB, free: 38.25 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01396/0.9557, allocations: 10.37 MB / 0.6358 GB, free: 27.72 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.067e-05/0.9557, allocations: 4.406 kB / 0.6358 GB, free: 27.72 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001599/0.9573, allocations: 411.4 kB / 0.6362 GB, free: 27.32 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002312/0.9597, allocations: 1.039 MB / 0.6372 GB, free: 26.26 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001666/0.9598, allocations: 75.95 kB / 0.6373 GB, free: 26.18 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01398/0.9738, allocations: 18.83 MB / 0.6557 GB, free: 6.391 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.9739, allocations: 7.984 kB / 0.6557 GB, free: 6.383 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008975/0.9828, allocations: 6.476 MB / 0.662 GB, free: 15.7 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002169/0.985, allocations: 0.7795 MB / 0.6628 GB, free: 14.9 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006984/0.9858, allocations: 71.94 kB / 0.6629 GB, free: 14.83 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001802/0.9876, allocations: 123.9 kB / 0.663 GB, free: 14.71 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000621/0.9882, allocations: 205.6 kB / 0.6632 GB, free: 14.51 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001824/0.9884, allocations: 79.98 kB / 0.6632 GB, free: 14.43 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004155/0.9926, allocations: 2.311 MB / 0.6655 GB, free: 12.13 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.9926, allocations: 0 / 0.6655 GB, free: 12.13 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004677/0.9973, allocations: 1.164 MB / 0.6666 GB, free: 10.97 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 (195): * Single equations (assignments): 188 * 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,8,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.01213/1.009, allocations: 7.133 MB / 0.6736 GB, free: 3.629 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007862/1.017, allocations: 4.312 MB / 0.6778 GB, free: 15.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.625e-06/1.017, allocations: 0 / 0.6778 GB, free: 15.2 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005287/1.023, allocations: 2.956 MB / 0.6807 GB, free: 12.14 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005304/1.028, allocations: 1.03 MB / 0.6817 GB, free: 11.13 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07563/1.104, allocations: 40.1 MB / 0.7209 GB, free: 1.676 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005242/1.109, allocations: 4.241 MB / 0.725 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002984/1.112, allocations: 0.8289 MB / 0.7258 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00401/1.116, allocations: 2.561 MB / 0.7283 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of SimCode: time 1.032e-06/1.116, allocations: 0 / 0.7283 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4383/1.554, allocations: 100.9 MB / 0.8268 GB, free: 111.5 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.76/19.31, allocations: 13.58 kB / 0.8268 GB, free: 111.4 MB / 0.5294 GB (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_ComparisonPolyphase_SMR_Inverter_Polyphase_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SynchronousMachines_ComparisonPolyphase_SMR_Inverter_Polyphase.fmu > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/ComparisonPolyphase/SMR_Inverter_Polyphase/SMR_Inverter_Polyphase.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches