Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_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.AIMC_DOL_MultiPhase,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_DOL_MultiPhase",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_DOL_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.0008832/0.0008832, allocations: 91.92 kB / 16.95 MB, free: 6.891 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.0009146/0.0009146, allocations: 187.5 kB / 17.84 MB, free: 6.137 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.551/1.551, 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.0004728/0.000473, allocations: 16 kB / 280.9 MB, free: 3.629 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1134, allocations: 47.58 MB / 328.5 MB, free: 3.98 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase): time 0.02582/0.1392, allocations: 20.87 MB / 349.3 MB, free: 15.04 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01625/0.1555, allocations: 6.108 MB / 355.4 MB, free: 8.914 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006324/0.1619, allocations: 131.4 kB / 355.6 MB, free: 8.785 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006241/0.1682, allocations: 1.138 MB / 356.7 MB, free: 7.641 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009652/0.1779, allocations: 1.837 MB / 358.5 MB, free: 5.793 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005053/0.183, allocations: 0.9514 MB / 359.5 MB, free: 4.84 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01814/0.2011, allocations: 9.877 MB / 369.4 MB, free: 10.92 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01466/0.2159, allocations: 5.64 MB / 375 MB, free: 5.223 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008538/0.2245, allocations: 3.125 MB / 378.1 MB, free: 2.086 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2667/0.4912, allocations: 4.061 MB / 382.2 MB, free: 16.29 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004926/0.4963, allocations: 0.5203 MB / 382.7 MB, free: 16.29 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007165/0.5035, allocations: 0.6936 MB / 383.4 MB, free: 16.29 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006891/0.5104, allocations: 2.002 MB / 385.4 MB, free: 16.29 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00793/0.5184, allocations: 1.829 MB / 387.2 MB, free: 16.26 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02216/0.5406, allocations: 13.93 MB / 401.2 MB, free: 10.95 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.059e-05/0.5407, allocations: 0 / 401.2 MB, free: 10.95 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.928e-06/0.5407, allocations: 0 / 401.2 MB, free: 10.95 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0008232/0.5415, allocations: 0 / 401.2 MB, free: 10.95 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: 2135 * Number of variables: 2135 Notification: Performance of Generate backend data structure: time 0.03323/0.5748, allocations: 8.965 MB / 410.1 MB, free: 6.305 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.676e-05/0.5748, allocations: 10.72 kB / 410.1 MB, free: 6.305 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007445/0.5823, allocations: 1.099 MB / 411.2 MB, free: 6.016 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01498/0.5973, allocations: 2.046 MB / 413.3 MB, free: 5.184 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01619/0.6136, allocations: 5.266 MB / 418.6 MB, free: 3.605 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008575/0.6145, allocations: 0.5939 MB / 419.1 MB, free: 3.586 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004388/0.6189, allocations: 0.7814 MB / 419.9 MB, free: 3.578 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04087/0.6598, allocations: 11.28 MB / 431.2 MB, free: 13.53 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004103/0.6602, allocations: 17.45 kB / 431.2 MB, free: 13.52 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00367/0.6639, allocations: 332.8 kB / 431.6 MB, free: 13.2 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004306/0.6644, allocations: 376.3 kB / 431.9 MB, free: 12.82 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03234/0.6967, allocations: 9.869 MB / 441.8 MB, free: 2.949 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08575/0.7825, allocations: 34.69 MB / 476.5 MB, free: 284 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02285/0.8054, allocations: 19.87 MB / 496.4 MB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008687/0.8142, allocations: 3.768 MB / 0.4884 GB, free: 6.629 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02374/0.8379, allocations: 9.565 MB / 0.4977 GB, free: 13.07 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.541e-05/0.8381, allocations: 65.09 kB / 0.4978 GB, free: 13 MB / 414.1 MB Notification: Performance of pre-optimization done (n=321): time 8.456e-06/0.8381, allocations: 10.16 kB / 0.4978 GB, free: 13 MB / 414.1 MB Notification: Performance of matching and sorting (n=327): time 0.04006/0.8781, allocations: 15.5 MB / 0.513 GB, free: 13.23 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.687e-05/0.8783, allocations: 85.98 kB / 0.513 GB, free: 13.13 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01137/0.8896, allocations: 4.366 MB / 0.5173 GB, free: 8.75 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007302/0.8904, allocations: 85.7 kB / 0.5174 GB, free: 8.66 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003521/0.8939, allocations: 3.55 MB / 0.5208 GB, free: 5.09 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001806/0.8958, allocations: 1.104 MB / 0.5219 GB, free: 3.996 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000649/0.8964, allocations: 80 kB / 0.522 GB, free: 3.918 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0004155/0.8969, allocations: 462.4 kB / 0.5224 GB, free: 3.461 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004124/0.901, allocations: 1.85 MB / 0.5242 GB, free: 1.609 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005104/0.9061, allocations: 2.936 MB / 0.5271 GB, free: 14.24 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004684/0.9108, allocations: 2.341 MB / 0.5294 GB, free: 11.91 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.001e-05/0.9109, allocations: 12 kB / 0.5294 GB, free: 11.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.01248/0.9234, allocations: 6.138 MB / 0.5354 GB, free: 5.906 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.311e-05/0.9235, allocations: 27.98 kB / 0.5354 GB, free: 5.879 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.577e-05/0.9236, allocations: 32 kB / 0.5355 GB, free: 5.848 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002401/0.926, allocations: 0.8378 MB / 0.5363 GB, free: 4.984 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003306/0.9293, allocations: 0.8387 MB / 0.5371 GB, free: 4.199 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2912/1.221, allocations: 14.98 MB / 0.5517 GB, free: 144.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006568/1.227, allocations: 192 kB / 0.5519 GB, free: 144.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001171/1.228, allocations: 166.7 kB / 0.5521 GB, free: 144.7 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 148 * Number of states: 0 () * Number of discrete variables: 8 (idealCloserM.control[1],idealCloserM.control[2],idealCloserM.control[3],idealCloserM.control[4],idealCloserM.control[5],idealCloser3.control[1],idealCloser3.control[2],idealCloser3.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (439): * Single equations (assignments): 430 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(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 {(1,100.0%) 5,(1,100.0%) 1,(3,100.0%) 23,(1,100.0%) 1,(1,100.0%) 2,(1,100.0%) 2,(4,56.2%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009025/1.237, allocations: 2.586 MB / 0.5546 GB, free: 144.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001994/1.239, allocations: 457.1 kB / 0.555 GB, free: 144.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01292/1.252, allocations: 5.727 MB / 0.5606 GB, free: 141.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.191e-05/1.252, allocations: 31.31 kB / 0.5607 GB, free: 141.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-05/1.253, allocations: 19.72 kB / 0.5607 GB, free: 141.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-05/1.253, allocations: 20.3 kB / 0.5607 GB, free: 141.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03103/1.284, allocations: 12.71 MB / 0.5731 GB, free: 136.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.748e-05/1.284, allocations: 3.969 kB / 0.5731 GB, free: 136.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00175/1.285, allocations: 391 kB / 0.5735 GB, free: 136.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003977/1.289, allocations: 1.447 MB / 0.5749 GB, free: 135.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006964/1.29, allocations: 90.05 kB / 0.575 GB, free: 135.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02417/1.314, allocations: 24.25 MB / 0.5987 GB, free: 114.1 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/1.314, allocations: 4 kB / 0.5987 GB, free: 114.1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01436/1.329, allocations: 8.194 MB / 0.6067 GB, free: 106 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004236/1.333, allocations: 0.9577 MB / 0.6076 GB, free: 105.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001691/1.335, allocations: 83.98 kB / 0.6077 GB, free: 105 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00308/1.338, allocations: 187.9 kB / 0.6079 GB, free: 104.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009661/1.339, allocations: 329.9 kB / 0.6082 GB, free: 104.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002363/1.339, allocations: 98.16 kB / 0.6083 GB, free: 104.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.006835/1.346, allocations: 2.986 MB / 0.6112 GB, free: 101.4 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.31e-07/1.346, allocations: 0 / 0.6112 GB, free: 101.4 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.01201/1.358, allocations: 1.439 MB / 0.6126 GB, free: 100 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 12 (aimcM.inertiaRotor.w,aimcM.stator.core.Phi.re,aimcM.stator.core.Phi.im,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[5].Phi.re,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[5].Phi.im,quadraticLoadTorqueM.phi,aimc3.inertiaRotor.w,aimc3.stator.core.Phi.re,aimc3.stator.core.Phi.im,aimc3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc3.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque3.phi) * Number of discrete variables: 8 (idealCloserM.control[1],idealCloserM.control[2],idealCloserM.control[3],idealCloserM.control[4],idealCloserM.control[5],idealCloser3.control[1],idealCloser3.control[2],idealCloser3.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (197): * Single equations (assignments): 188 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 5,(1,100.0%) 8,(2,100.0%) 12,(1,100.0%) 1,(3,100.0%) 23,(6,72.2%) 46,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01704/1.375, allocations: 8.875 MB / 0.6213 GB, free: 90.93 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009881/1.385, allocations: 5.729 MB / 0.6269 GB, free: 85.05 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.987e-06/1.385, allocations: 0 / 0.6269 GB, free: 85.05 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006998/1.392, allocations: 4.132 MB / 0.6309 GB, free: 80.8 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01026/1.402, allocations: 1.21 MB / 0.6321 GB, free: 79.59 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1232/1.526, allocations: 45.99 MB / 0.677 GB, free: 31.02 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007859/1.534, allocations: 5.108 MB / 0.682 GB, free: 25.88 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00486/1.539, allocations: 1.019 MB / 0.683 GB, free: 24.86 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00608/1.545, allocations: 3.003 MB / 0.6859 GB, free: 21.85 MB / 446.1 MB Notification: Performance of SimCode: time 2.445e-06/1.545, allocations: 0 / 0.6859 GB, free: 21.85 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4388/1.983, allocations: 121.4 MB / 0.8044 GB, free: 68.29 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001717/1.984, allocations: 239.2 kB / 0.8047 GB, free: 68.04 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.66/7.644, allocations: 0 / 0.8047 GB, free: 68.04 MB / 446.1 MB (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_DOL_MultiPhase_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_DOL_MultiPhase.fmu > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL_MultiPhase_res.mat does not exist to compare? outputFormat=mat