Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.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.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Initialize",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Initialize",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.001312/0.001312, allocations: 178.4 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.597/1.597, allocations: 205.3 MB / 214.4 MB, free: 1.672 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009059/0.0009059, allocations: 86.72 kB / 262.4 MB, free: 1.617 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.833e-05/1.844e-05, allocations: 4 kB / 315.6 MB, free: 22.6 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1061, allocations: 47.58 MB / 363.2 MB, free: 6.965 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3634/0.4696, allocations: 102.2 MB / 465.3 MB, free: 9.531 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002764/0.4699, allocations: 81.2 kB / 465.4 MB, free: 9.492 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1087/0.5787, allocations: 40.53 MB / 0.4941 GB, free: 6.477 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.5787, allocations: 0 / 0.4941 GB, free: 6.477 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001419/0.5789, allocations: 51.94 kB / 0.4941 GB, free: 6.426 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.004285/0.5832, allocations: 1.988 MB / 0.4961 GB, free: 4.383 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.813e-05/0.5832, allocations: 12.03 kB / 0.4961 GB, free: 4.371 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008129/0.5841, allocations: 261.2 kB / 0.4963 GB, free: 4.113 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002561/0.5866, allocations: 1.412 MB / 0.4977 GB, free: 2.645 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.401e-05/0.5867, allocations: 60 kB / 0.4978 GB, free: 2.586 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002526/0.587, allocations: 111.9 kB / 0.4979 GB, free: 2.477 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003105/0.5901, allocations: 1.749 MB / 0.4996 GB, free: 0.7266 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003632/0.5937, allocations: 2.073 MB / 0.5016 GB, free: 14.57 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.925e-05/0.5938, allocations: 3.938 kB / 0.5016 GB, free: 14.57 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001371/0.5939, allocations: 4 kB / 0.5016 GB, free: 14.56 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.824e-05/0.594, allocations: 75.5 kB / 0.5017 GB, free: 14.49 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01247/0.6065, allocations: 7.144 MB / 0.5087 GB, free: 7.141 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001945/0.6085, allocations: 1.243 MB / 0.5099 GB, free: 5.824 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001074/0.6096, allocations: 0.7163 MB / 0.5106 GB, free: 5.105 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000325/0.61, allocations: 145.8 kB / 0.5107 GB, free: 4.945 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.114e-05/0.61, allocations: 39.34 kB / 0.5108 GB, free: 4.898 MB / 394.7 MB Notification: Performance of pre-optimization done (n=87): time 5.19e-06/0.61, allocations: 0 / 0.5108 GB, free: 4.898 MB / 394.7 MB Notification: Performance of matching and sorting (n=103): time 0.007739/0.6178, allocations: 3.918 MB / 0.5146 GB, free: 0.9141 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.6179, allocations: 68.72 kB / 0.5147 GB, free: 0.832 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001597/0.6195, allocations: 0.989 MB / 0.5156 GB, free: 15.83 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.398e-05/0.6196, allocations: 25.7 kB / 0.5156 GB, free: 15.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007411/0.6203, allocations: 0.9037 MB / 0.5165 GB, free: 14.88 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003298/0.6206, allocations: 346.8 kB / 0.5169 GB, free: 14.54 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.979e-05/0.6207, allocations: 0 / 0.5169 GB, free: 14.54 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.6209, allocations: 357.9 kB / 0.5172 GB, free: 14.18 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008335/0.6217, allocations: 0.5844 MB / 0.5178 GB, free: 13.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001049/0.6228, allocations: 0.8652 MB / 0.5186 GB, free: 12.62 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001056/0.6239, allocations: 0.7245 MB / 0.5193 GB, free: 11.89 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.6239, allocations: 0 / 0.5193 GB, free: 11.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003892/0.6278, allocations: 2.265 MB / 0.5215 GB, free: 9.613 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.59e-05/0.6278, allocations: 11.95 kB / 0.5216 GB, free: 9.602 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.74e-05/0.6278, allocations: 8 kB / 0.5216 GB, free: 9.594 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001919/0.6298, allocations: 0.7665 MB / 0.5223 GB, free: 8.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008591/0.6306, allocations: 227.7 kB / 0.5225 GB, free: 8.598 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01075/0.6414, allocations: 8.178 MB / 0.5305 GB, free: 188 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001375/0.6428, allocations: 59.83 kB / 0.5306 GB, free: 128 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001212/0.643, allocations: 51.98 kB / 0.5306 GB, free: 76 kB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 109 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(6,77.8%) 35} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.221/0.864, allocations: 131 kB / 0.5307 GB, free: 108.3 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004293/0.8683, allocations: 1.662 MB / 0.5324 GB, free: 108.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005409/0.8689, allocations: 132.5 kB / 0.5325 GB, free: 108.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003797/0.8727, allocations: 1.776 MB / 0.5342 GB, free: 108.1 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.928e-05/0.8727, allocations: 10.47 kB / 0.5342 GB, free: 108.1 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.942e-05/0.8728, allocations: 3.906 kB / 0.5342 GB, free: 108.1 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.437e-05/0.8728, allocations: 8.891 kB / 0.5342 GB, free: 108.1 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008892/0.8817, allocations: 3.626 MB / 0.5378 GB, free: 107.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.317e-06/0.8817, allocations: 4.812 kB / 0.5378 GB, free: 107.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009194/0.8827, allocations: 200.4 kB / 0.538 GB, free: 107.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001368/0.884, allocations: 456.2 kB / 0.5384 GB, free: 107.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001061/0.8842, allocations: 13.77 kB / 0.5384 GB, free: 107.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005708/0.8899, allocations: 5.912 MB / 0.5442 GB, free: 104.1 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.8899, allocations: 3.031 kB / 0.5442 GB, free: 104.1 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00539/0.8953, allocations: 2.743 MB / 0.5469 GB, free: 103.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001326/0.8967, allocations: 352.5 kB / 0.5472 GB, free: 103.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006185/0.8973, allocations: 9.719 kB / 0.5472 GB, free: 103.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001202/0.8986, allocations: 61.5 kB / 0.5473 GB, free: 103.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000309/0.8989, allocations: 83.78 kB / 0.5474 GB, free: 103.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001395/0.899, allocations: 31.03 kB / 0.5474 GB, free: 103.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001909/0.901, allocations: 0.751 MB / 0.5481 GB, free: 103.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.901, allocations: 3.656 kB / 0.5481 GB, free: 103.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002386/0.9034, allocations: 401.2 kB / 0.5485 GB, free: 103.4 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (aimc.inertiaRotor.phi,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 83 * 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: 3 * 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%) 12,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005196/0.9086, allocations: 3.945 MB / 0.5524 GB, free: 101.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003255/0.9119, allocations: 1.91 MB / 0.5542 GB, free: 101.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/0.9119, allocations: 3.938 kB / 0.5542 GB, free: 101.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001847/0.9137, allocations: 1.276 MB / 0.5555 GB, free: 101.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001916/0.9157, allocations: 281.5 kB / 0.5558 GB, free: 101.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008097/0.9238, allocations: 3.71 MB / 0.5594 GB, free: 100.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001669/0.9255, allocations: 1.731 MB / 0.5611 GB, free: 99.6 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001148/0.9267, allocations: 295.6 kB / 0.5614 GB, free: 99.57 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009583/0.9276, allocations: 0.7043 MB / 0.562 GB, free: 99.08 MB / 410.7 MB Notification: Performance of SimCode: time 1.072e-06/0.9277, allocations: 0 / 0.562 GB, free: 99.08 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06599/0.9936, allocations: 33.6 MB / 0.5949 GB, free: 87.52 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001631/0.9939, allocations: 177.7 kB / 0.595 GB, free: 87.34 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.931/3.924, allocations: 0 / 0.595 GB, free: 87.34 MB / 410.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Initialize_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Initialize.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize_res.mat does not exist to compare? outputFormat=mat