Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.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_Transformer,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Transformer",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.001022/0.001022, allocations: 177.7 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.473/1.473, allocations: 205.3 MB / 214.4 MB, free: 1.738 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.0008873/0.0008873, allocations: 82.39 kB / 262.4 MB, free: 1.68 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.159e-05/2.167e-05, allocations: 0 / 315.6 MB, free: 22.62 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09259/0.09263, allocations: 47.59 MB / 363.2 MB, free: 6.965 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3657/0.4584, allocations: 111.2 MB / 474.4 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001871/0.4586, allocations: 86.89 kB / 474.5 MB, free: 500 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.457/0.9157, allocations: 92.23 MB / 0.5534 GB, free: 87.07 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.973e-06/0.9157, allocations: 0 / 0.5534 GB, free: 87.07 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003209/0.916, allocations: 96.52 kB / 0.5535 GB, free: 87.06 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: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.009886/0.9259, allocations: 3.553 MB / 0.557 GB, free: 85.68 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/0.926, allocations: 11.59 kB / 0.557 GB, free: 85.68 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002521/0.9285, allocations: 0.4997 MB / 0.5575 GB, free: 85.45 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005462/0.934, allocations: 2.542 MB / 0.56 GB, free: 84.89 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001377/0.9342, allocations: 118 kB / 0.5601 GB, free: 84.89 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009084/0.9351, allocations: 205.9 kB / 0.5603 GB, free: 84.89 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006507/0.9416, allocations: 3.705 MB / 0.5639 GB, free: 84.88 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009458/0.9511, allocations: 4.325 MB / 0.5681 GB, free: 84.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001294/0.9512, allocations: 14.66 kB / 0.5682 GB, free: 84.38 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006593/0.9519, allocations: 6.719 kB / 0.5682 GB, free: 84.38 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001762/0.9521, allocations: 173.5 kB / 0.5683 GB, free: 84.37 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02396/0.9761, allocations: 14.25 MB / 0.5822 GB, free: 79.49 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003474/0.9796, allocations: 4.058 MB / 0.5862 GB, free: 76.68 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00194/0.9816, allocations: 1.757 MB / 0.5879 GB, free: 76.06 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003093/0.9819, allocations: 147.9 kB / 0.5881 GB, free: 75.96 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.374e-05/0.9819, allocations: 63 kB / 0.5881 GB, free: 75.91 MB / 410.7 MB Notification: Performance of pre-optimization done (n=201): time 3.787e-06/0.982, allocations: 0 / 0.5881 GB, free: 75.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=221): time 0.01204/0.994, allocations: 7.194 MB / 0.5951 GB, free: 72.95 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.259e-05/0.9941, allocations: 71.53 kB / 0.5952 GB, free: 72.88 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002618/0.9967, allocations: 1.746 MB / 0.5969 GB, free: 72.17 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002176/0.9969, allocations: 28.83 kB / 0.5969 GB, free: 72.14 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008361/0.9978, allocations: 1.602 MB / 0.5985 GB, free: 70.92 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004566/0.9982, allocations: 0.7095 MB / 0.5992 GB, free: 70.36 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/0.9984, allocations: 0 / 0.5992 GB, free: 70.36 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.9985, allocations: 402.2 kB / 0.5996 GB, free: 70.01 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001395/0.9999, allocations: 1.194 MB / 0.6007 GB, free: 69.55 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001561/1.001, allocations: 1.603 MB / 0.6023 GB, free: 68.61 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0017/1.003, allocations: 1.438 MB / 0.6037 GB, free: 68.05 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.968e-06/1.003, allocations: 6.469 kB / 0.6037 GB, free: 68.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.005554/1.009, allocations: 3.667 MB / 0.6073 GB, free: 66.68 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.095e-05/1.009, allocations: 10.62 kB / 0.6073 GB, free: 66.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.561e-05/1.009, allocations: 17.86 kB / 0.6073 GB, free: 66.67 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001733/1.011, allocations: 0.7521 MB / 0.6081 GB, free: 66.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001993/1.013, allocations: 0.5275 MB / 0.6086 GB, free: 66.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007312/1.02, allocations: 8.339 MB / 0.6167 GB, free: 59.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002231/1.022, allocations: 75.42 kB / 0.6168 GB, free: 59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002004/1.022, allocations: 95.45 kB / 0.6169 GB, free: 58.91 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (248): * Single equations (assignments): 243 * 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: 3 * 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: 3 {(2,100.0%) 12,(1,100.0%) 1,(3,88.9%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000429/1.023, allocations: 156.7 kB / 0.617 GB, free: 58.75 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004377/1.027, allocations: 3.209 MB / 0.6202 GB, free: 55.96 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005613/1.028, allocations: 245 kB / 0.6204 GB, free: 55.72 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005374/1.033, allocations: 3.415 MB / 0.6237 GB, free: 52.88 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.765e-05/1.033, allocations: 27.83 kB / 0.6238 GB, free: 52.86 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.839e-06/1.033, allocations: 8 kB / 0.6238 GB, free: 52.85 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.89e-05/1.033, allocations: 13.22 kB / 0.6238 GB, free: 52.85 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0113/1.045, allocations: 7.285 MB / 0.6309 GB, free: 46.92 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-05/1.045, allocations: 8.031 kB / 0.6309 GB, free: 46.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001556/1.046, allocations: 393 kB / 0.6313 GB, free: 46.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001881/1.048, allocations: 0.8038 MB / 0.6321 GB, free: 45.96 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001688/1.048, allocations: 26.14 kB / 0.6321 GB, free: 45.94 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007921/1.056, allocations: 9.807 MB / 0.6417 GB, free: 36.53 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.266e-06/1.056, allocations: 7.938 kB / 0.6417 GB, free: 36.52 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006696/1.063, allocations: 5.385 MB / 0.6469 GB, free: 31.65 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001543/1.065, allocations: 0.5967 MB / 0.6475 GB, free: 31.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004041/1.065, allocations: 19.28 kB / 0.6475 GB, free: 31.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001248/1.066, allocations: 87 kB / 0.6476 GB, free: 31.02 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003762/1.067, allocations: 190.3 kB / 0.6478 GB, free: 30.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001295/1.067, allocations: 63.7 kB / 0.6479 GB, free: 30.85 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001768/1.069, allocations: 1.317 MB / 0.6491 GB, free: 29.66 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.069, allocations: 0 / 0.6491 GB, free: 29.66 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002672/1.071, allocations: 0.7188 MB / 0.6498 GB, free: 28.94 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 (aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (178): * Single equations (assignments): 173 * 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: 4 * 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: 4 {(2,100.0%) 12,(1,100.0%) 1,(3,88.9%) 25,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006874/1.078, allocations: 6.89 MB / 0.6566 GB, free: 22.66 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004535/1.083, allocations: 3.627 MB / 0.6601 GB, free: 19.17 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/1.083, allocations: 4 kB / 0.6601 GB, free: 19.17 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002911/1.086, allocations: 2.348 MB / 0.6624 GB, free: 16.77 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002839/1.089, allocations: 0.5228 MB / 0.6629 GB, free: 16.25 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0146/1.103, allocations: 7.266 MB / 0.67 GB, free: 8.969 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002319/1.106, allocations: 2.842 MB / 0.6728 GB, free: 6.102 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002162/1.108, allocations: 0.6234 MB / 0.6734 GB, free: 5.488 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001675/1.109, allocations: 1.366 MB / 0.6747 GB, free: 4.121 MB / 410.7 MB Notification: Performance of SimCode: time 1.173e-06/1.109, allocations: 4 kB / 0.6747 GB, free: 4.117 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3713/1.481, allocations: 61.83 MB / 0.7351 GB, free: 84.11 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001437/1.481, allocations: 184.5 kB / 0.7353 GB, free: 83.91 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.865/5.346, allocations: 0 / 0.7353 GB, free: 83.91 MB / 426.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Transformer_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Transformer.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer_res.mat does not exist to compare? outputFormat=mat