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.001355/0.001355, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001556/0.001557, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.312/1.312, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 63.89 kB / 358.3 MB, free: 13.37 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2788/0.28, allocations: 50.54 MB / 408.8 MB, free: 1.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.ComparisonPolyphase.SMR_Inverter_Polyphase): time 0.02617/0.3062, allocations: 25.01 MB / 433.8 MB, free: 8.414 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01531/0.3216, allocations: 6.908 MB / 440.7 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005455/0.3271, allocations: 171.4 kB / 440.9 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005393/0.3325, allocations: 1.595 MB / 442.5 MB, free: 15.71 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008531/0.3411, allocations: 2.119 MB / 444.6 MB, free: 13.58 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004564/0.3457, allocations: 1.484 MB / 446.1 MB, free: 12.1 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01108/0.3568, allocations: 8.151 MB / 454.2 MB, free: 3.918 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008668/0.3655, allocations: 7.308 MB / 461.5 MB, free: 12.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005198/0.3707, allocations: 3.859 MB / 465.4 MB, free: 8.645 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006057/0.3768, allocations: 4.691 MB / 470.1 MB, free: 3.938 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001455/0.3783, allocations: 1.094 MB / 471.2 MB, free: 2.844 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002227/0.3805, allocations: 1.336 MB / 472.5 MB, free: 1.508 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00178/0.3823, allocations: 2.439 MB / 475 MB, free: 15.06 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004362/0.3867, allocations: 4.532 MB / 479.5 MB, free: 10.51 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01343/0.4001, allocations: 14.27 MB / 493.8 MB, free: 12.2 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.4001, allocations: 0 / 493.8 MB, free: 12.2 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4002, allocations: 0 / 493.8 MB, free: 12.2 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003173/0.4005, allocations: 0 / 493.8 MB, free: 12.2 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.02422/0.4247, allocations: 8.891 MB / 0.4909 GB, free: 3.215 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.165e-05/0.4248, allocations: 8.031 kB / 0.4909 GB, free: 3.207 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002086/0.4269, allocations: 0.9589 MB / 0.4918 GB, free: 2.234 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008805/0.4357, allocations: 1.67 MB / 0.4934 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01112/0.4468, allocations: 4.861 MB / 0.4982 GB, free: 11.62 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005168/0.4474, allocations: 0.514 MB / 0.4987 GB, free: 11.1 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002061/0.4494, allocations: 0.6833 MB / 0.4994 GB, free: 10.42 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02337/0.4728, allocations: 9.451 MB / 0.5086 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002395/0.4731, allocations: 8 kB / 0.5086 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001489/0.4746, allocations: 288 kB / 0.5089 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003144/0.4749, allocations: 334.2 kB / 0.5092 GB, free: 292 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01658/0.4915, allocations: 8.078 MB / 0.5171 GB, free: 8.191 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3008/0.7924, allocations: 28.59 MB / 0.545 GB, free: 105.1 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01366/0.8061, allocations: 17.74 MB / 0.5623 GB, free: 91.11 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006289/0.8124, allocations: 3.66 MB / 0.5659 GB, free: 90.69 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01295/0.8254, allocations: 8.886 MB / 0.5746 GB, free: 85.98 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.943e-05/0.8254, allocations: 66.98 kB / 0.5746 GB, free: 85.91 MB / 462.1 MB Notification: Performance of pre-optimization done (n=259): time 4.679e-06/0.8255, allocations: 0 / 0.5746 GB, free: 85.91 MB / 462.1 MB Notification: Performance of matching and sorting (n=265): time 0.02287/0.8483, allocations: 11.7 MB / 0.5861 GB, free: 78.94 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.15e-05/0.8484, allocations: 81.09 kB / 0.5861 GB, free: 78.87 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004902/0.8533, allocations: 3.413 MB / 0.5895 GB, free: 76.54 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004471/0.8538, allocations: 77.7 kB / 0.5895 GB, free: 76.45 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001438/0.8553, allocations: 3.051 MB / 0.5925 GB, free: 73.38 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006791/0.8559, allocations: 0.908 MB / 0.5934 GB, free: 72.47 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007811/0.8567, allocations: 0.5973 MB / 0.594 GB, free: 71.87 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.946e-05/0.8568, allocations: 305.1 kB / 0.5943 GB, free: 71.57 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001958/0.8588, allocations: 1.451 MB / 0.5957 GB, free: 70.11 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002297/0.8611, allocations: 2.496 MB / 0.5981 GB, free: 67.16 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004467/0.8655, allocations: 4.184 MB / 0.6022 GB, free: 62.5 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-05/0.8656, allocations: 16 kB / 0.6022 GB, free: 62.48 MB / 462.1 MB Notification: Performance of matching and sorting (n=436) (initialization): time 0.007394/0.873, allocations: 5.013 MB / 0.6071 GB, free: 57.38 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.057e-05/0.8731, allocations: 16.94 kB / 0.6072 GB, free: 57.37 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.873e-05/0.8731, allocations: 32 kB / 0.6072 GB, free: 57.34 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001359/0.8745, allocations: 0.5699 MB / 0.6077 GB, free: 56.75 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00332/0.8778, allocations: 0.78 MB / 0.6085 GB, free: 55.97 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01065/0.8885, allocations: 9.46 MB / 0.6177 GB, free: 45.97 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004543/0.8931, allocations: 167.8 kB / 0.6179 GB, free: 45.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005936/0.8937, allocations: 148 kB / 0.618 GB, free: 45.66 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.00584/0.8995, allocations: 2.085 MB / 0.6201 GB, free: 43.56 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001495/0.901, allocations: 371.5 kB / 0.6204 GB, free: 43.2 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01197/0.913, allocations: 4.541 MB / 0.6249 GB, free: 38.54 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-05/0.9131, allocations: 24 kB / 0.6249 GB, free: 38.52 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.073e-05/0.9132, allocations: 19.94 kB / 0.6249 GB, free: 38.5 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.954e-05/0.9132, allocations: 11.95 kB / 0.6249 GB, free: 38.48 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02019/0.9334, allocations: 10.36 MB / 0.635 GB, free: 27.96 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.189e-05/0.9335, allocations: 4 kB / 0.635 GB, free: 27.96 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001671/0.9351, allocations: 407.8 kB / 0.6354 GB, free: 27.56 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002541/0.9377, allocations: 1.019 MB / 0.6364 GB, free: 26.52 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002101/0.9379, allocations: 71.97 kB / 0.6365 GB, free: 26.45 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01464/0.9526, allocations: 18.82 MB / 0.6549 GB, free: 6.684 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.9526, allocations: 4 kB / 0.6549 GB, free: 6.68 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008349/0.961, allocations: 6.446 MB / 0.6612 GB, free: 32 kB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002076/0.9631, allocations: 0.7658 MB / 0.6619 GB, free: 15.24 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005145/0.9636, allocations: 56 kB / 0.662 GB, free: 15.19 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001715/0.9653, allocations: 131.9 kB / 0.6621 GB, free: 15.06 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005367/0.9659, allocations: 205.7 kB / 0.6623 GB, free: 14.86 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000173/0.966, allocations: 75.97 kB / 0.6624 GB, free: 14.78 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003759/0.9698, allocations: 2.315 MB / 0.6646 GB, free: 12.48 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.9698, allocations: 4 kB / 0.6646 GB, free: 12.48 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003902/0.9737, allocations: 1.155 MB / 0.6658 GB, free: 11.32 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.01044/0.9842, allocations: 7.104 MB / 0.6727 GB, free: 4.012 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007435/0.9916, allocations: 4.295 MB / 0.6769 GB, free: 15.6 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.684e-06/0.9917, allocations: 0 / 0.6769 GB, free: 15.6 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005041/0.9967, allocations: 2.951 MB / 0.6798 GB, free: 12.55 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006515/1.003, allocations: 1.034 MB / 0.6808 GB, free: 11.54 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07599/1.079, allocations: 39.89 MB / 0.7197 GB, free: 2.316 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006721/1.086, allocations: 4.253 MB / 0.7239 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002991/1.089, allocations: 0.8328 MB / 0.7247 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003564/1.093, allocations: 2.553 MB / 0.7272 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of SimCode: time 6.31e-07/1.093, allocations: 0 / 0.7272 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4165/1.509, allocations: 101.7 MB / 0.8265 GB, free: 111.5 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.97/18.48, allocations: 5.797 kB / 0.8265 GB, free: 111.5 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.0.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