Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump.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: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_LoadDump",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_LoadDump",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001057/0.001057, allocations: 172.7 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.378/1.378, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.0008239/0.0008239, allocations: 85.98 kB / 268 MB, free: 14.03 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.625e-05/2.627e-05, allocations: 0 / 322.5 MB, free: 17.24 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09718/0.09723, allocations: 47.57 MB / 370.1 MB, free: 1.609 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3575/0.4547, allocations: 121.1 MB / 491.3 MB, free: 4.879 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002265/0.455, allocations: 85.39 kB / 491.3 MB, free: 4.836 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4547/0.9098, allocations: 102.2 MB / 0.5797 GB, free: 92.22 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.973e-06/0.9098, allocations: 0 / 0.5797 GB, free: 92.22 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002641/0.9101, allocations: 105.4 kB / 0.5798 GB, free: 92.2 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1076 * Number of variables: 1076 Notification: Performance of Generate backend data structure: time 0.01095/0.9211, allocations: 4.203 MB / 0.5839 GB, free: 90.14 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.776e-05/0.9212, allocations: 14.86 kB / 0.5839 GB, free: 90.14 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001743/0.9229, allocations: 0.6169 MB / 0.5845 GB, free: 89.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004865/0.9278, allocations: 0.9568 MB / 0.5854 GB, free: 89.48 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00836/0.9362, allocations: 3.96 MB / 0.5893 GB, free: 87.55 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002252/0.9364, allocations: 472.9 kB / 0.5897 GB, free: 87.22 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000562/0.937, allocations: 415.9 kB / 0.5901 GB, free: 87.08 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008139/0.9451, allocations: 5.219 MB / 0.5952 GB, free: 84.59 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.366e-05/0.9452, allocations: 3.906 kB / 0.5952 GB, free: 84.58 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003611/0.9456, allocations: 177.4 kB / 0.5954 GB, free: 84.45 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001213/0.9457, allocations: 168.8 kB / 0.5956 GB, free: 84.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006415/0.9521, allocations: 4.186 MB / 0.5996 GB, free: 82.7 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02305/0.9752, allocations: 17.97 MB / 0.6172 GB, free: 64.96 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005381/0.9806, allocations: 8.121 MB / 0.6251 GB, free: 55.9 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002318/0.983, allocations: 1.814 MB / 0.6269 GB, free: 54.09 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007923/0.9909, allocations: 5.415 MB / 0.6322 GB, free: 48.57 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001473/0.9924, allocations: 1.187 MB / 0.6333 GB, free: 47.34 MB / 410.7 MB Notification: Performance of pre-optimization done (n=175): time 1.153e-05/0.9925, allocations: 3.984 kB / 0.6333 GB, free: 47.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=207): time 0.01171/1.004, allocations: 6.915 MB / 0.6401 GB, free: 40.37 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.91e-05/1.004, allocations: 334.4 kB / 0.6404 GB, free: 39.97 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003049/1.007, allocations: 2.155 MB / 0.6425 GB, free: 37.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001442/1.008, allocations: 65.7 kB / 0.6426 GB, free: 37.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001445/1.009, allocations: 1.935 MB / 0.6445 GB, free: 35.78 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004182/1.009, allocations: 0.6985 MB / 0.6452 GB, free: 35.09 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001167/1.01, allocations: 52 kB / 0.6452 GB, free: 35.04 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001153/1.01, allocations: 407 kB / 0.6456 GB, free: 34.64 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001411/1.011, allocations: 1.028 MB / 0.6466 GB, free: 33.61 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001592/1.013, allocations: 1.8 MB / 0.6484 GB, free: 31.48 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001671/1.014, allocations: 1.313 MB / 0.6496 GB, free: 30.18 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.14e-05/1.014, allocations: 4 kB / 0.6496 GB, free: 30.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=323) (initialization): time 0.00575/1.02, allocations: 3.874 MB / 0.6534 GB, free: 26.25 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001491/1.022, allocations: 8.495 MB / 0.6617 GB, free: 16.97 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.3e-05/1.022, allocations: 20 kB / 0.6617 GB, free: 16.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002439/1.024, allocations: 1.005 MB / 0.6627 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001719/1.026, allocations: 475.3 kB / 0.6632 GB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01171/1.038, allocations: 14.14 MB / 0.677 GB, free: 0.5273 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002589/1.04, allocations: 171.8 kB / 0.6771 GB, free: 368 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001638/1.04, allocations: 108 kB / 0.6773 GB, free: 260 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.576e-06/1.04, allocations: 4 kB / 0.6773 GB, free: 256 kB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005768/1.046, allocations: 3.603 MB / 0.6808 GB, free: 12.61 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.553e-05/1.046, allocations: 20 kB / 0.6808 GB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002305/1.049, allocations: 1.002 MB / 0.6818 GB, free: 11.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001665/1.05, allocations: 479.2 kB / 0.6822 GB, free: 11.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2434/1.294, allocations: 14.12 MB / 0.696 GB, free: 91.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003014/1.297, allocations: 162.5 kB / 0.6962 GB, free: 91.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003223/1.297, allocations: 105 kB / 0.6963 GB, free: 91.57 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 91 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.loadControl.pulseStart,loadControl.pulseStart,$PRE.switch.closerWithArc[1].off,switch.closerWithArc[1].off,$PRE.switch.closerWithArc[1].quenched,switch.closerWithArc[1].quenched,$PRE.switch.closerWithArc[1].tSwitch,switch.closerWithArc[1].tSwitch,$PRE.switch.closerWithArc[2].off,switch.closerWithArc[2].off,$PRE.switch.closerWithArc[2].quenched,switch.closerWithArc[2].quenched,$PRE.switch.closerWithArc[2].tSwitch,switch.closerWithArc[2].tSwitch,$PRE.switch.closerWithArc[3].off,switch.closerWithArc[3].off,$PRE.switch.closerWithArc[3].quenched,switch.closerWithArc[3].quenched,$PRE.switch.closerWithArc[3].tSwitch,switch.closerWithArc[3].tSwitch,voltageController.I.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (265): * Single equations (assignments): 258 * 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: 6 * 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: 3 {(2,100.0%) 22,(3,100.0%) 21,(1,100.0%) 8} * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0005593/1.298, allocations: 283.2 kB / 0.6965 GB, free: 91.46 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005114/1.298, allocations: 280 kB / 0.6968 GB, free: 91.46 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006928/1.305, allocations: 3.22 MB / 0.7 GB, free: 91.32 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.059e-05/1.305, allocations: 20.38 kB / 0.7 GB, free: 91.32 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/1.305, allocations: 0 / 0.7 GB, free: 91.32 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.481e-05/1.305, allocations: 10.27 kB / 0.7 GB, free: 91.32 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01261/1.318, allocations: 7.01 MB / 0.7068 GB, free: 90.79 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.096e-05/1.318, allocations: 2.641 kB / 0.7068 GB, free: 90.79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001428/1.319, allocations: 283.8 kB / 0.7071 GB, free: 90.79 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002878/1.322, allocations: 1.041 MB / 0.7081 GB, free: 90.75 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001864/1.322, allocations: 53.62 kB / 0.7082 GB, free: 90.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01394/1.336, allocations: 11.59 MB / 0.7195 GB, free: 85.63 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/1.336, allocations: 3.312 kB / 0.7195 GB, free: 85.63 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006794/1.343, allocations: 4.643 MB / 0.724 GB, free: 85.14 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001522/1.345, allocations: 0.5955 MB / 0.7246 GB, free: 85.02 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006918/1.345, allocations: 57.38 kB / 0.7247 GB, free: 84.99 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001618/1.347, allocations: 128.4 kB / 0.7248 GB, free: 84.96 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004572/1.347, allocations: 230.8 kB / 0.725 GB, free: 84.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001162/1.348, allocations: 60.45 kB / 0.7251 GB, free: 84.91 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0025/1.35, allocations: 1.638 MB / 0.7267 GB, free: 84.25 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.212e-06/1.35, allocations: 0 / 0.7267 GB, free: 84.25 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004792/1.355, allocations: 1.517 MB / 0.7281 GB, free: 84.11 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.rotorCage.strayReluctance.Phi.re,speed.phi,speed.w,voltageController.I.y,loadInductor.inductor[2].i,loadInductor.inductor[3].i) * Number of discrete variables: 14 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,loadControl.pulseStart,switch.closerWithArc[1].off,switch.closerWithArc[1].quenched,switch.closerWithArc[1].tSwitch,switch.closerWithArc[2].off,switch.closerWithArc[2].quenched,switch.closerWithArc[2].tSwitch,switch.closerWithArc[3].off,switch.closerWithArc[3].quenched,switch.closerWithArc[3].tSwitch) * Number of discrete states: 6 (switch.closerWithArc[3].off,switch.closerWithArc[3].quenched,switch.closerWithArc[1].off,switch.closerWithArc[1].quenched,switch.closerWithArc[2].off,switch.closerWithArc[2].quenched) * Top-level inputs: 0 Notification: Strong component statistics for simulation (147): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {4 55,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.007157/1.362, allocations: 6.003 MB / 0.734 GB, free: 81.04 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008769/1.371, allocations: 6.414 MB / 0.7403 GB, free: 77.66 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/1.371, allocations: 3.719 kB / 0.7403 GB, free: 77.66 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002882/1.374, allocations: 2.109 MB / 0.7423 GB, free: 76.55 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003086/1.377, allocations: 0.6322 MB / 0.7429 GB, free: 76.39 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01566/1.393, allocations: 7.515 MB / 0.7503 GB, free: 73.53 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002739/1.395, allocations: 2.924 MB / 0.7531 GB, free: 72.37 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003752/1.399, allocations: 1.041 MB / 0.7542 GB, free: 72.27 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001581/1.401, allocations: 1.563 MB / 0.7557 GB, free: 70.94 MB / 426.7 MB Notification: Performance of SimCode: time 3.186e-06/1.401, allocations: 0 / 0.7557 GB, free: 70.94 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1155/1.516, allocations: 85.79 MB / 0.8395 GB, free: 400 kB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002638/1.517, allocations: 207.9 kB / 0.8397 GB, free: 164 kB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.318/5.834, allocations: 0 / 0.8397 GB, free: 164 kB / 426.7 MB (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_LoadDump_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_SMEE_LoadDump.fmu > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SMEE_LoadDump_res.mat does not exist to compare? outputFormat=mat