Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001586/0.001586, allocations: 181.9 kB / 16.4 MB, free: 5.723 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.985/1.985, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001146/0.001146, allocations: 97.22 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003953/0.0003954, allocations: 8 kB / 327.1 MB, free: 104 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3355/0.3359, allocations: 47.57 MB / 374.6 MB, free: 45.3 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1851/0.5211, allocations: 111.7 MB / 486.4 MB, free: 0.8477 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003288/0.5215, allocations: 91.95 kB / 486.5 MB, free: 0.7578 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6294/1.151, allocations: 93.18 MB / 0.5661 GB, free: 49.51 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.146e-06/1.151, allocations: 0 / 0.5661 GB, free: 49.51 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0004395/1.151, allocations: 103.9 kB / 0.5662 GB, free: 49.41 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: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.01818/1.17, allocations: 3.955 MB / 0.57 GB, free: 45.39 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.646e-05/1.17, allocations: 8.031 kB / 0.57 GB, free: 45.38 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003122/1.173, allocations: 0.498 MB / 0.5705 GB, free: 44.87 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004432/1.177, allocations: 0.5103 MB / 0.571 GB, free: 44.36 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01495/1.192, allocations: 2.571 MB / 0.5735 GB, free: 41.73 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004918/1.193, allocations: 263 kB / 0.5738 GB, free: 41.48 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002124/1.195, allocations: 355.8 kB / 0.5741 GB, free: 41.13 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.022/1.217, allocations: 4.94 MB / 0.5789 GB, free: 36.04 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000293/1.218, allocations: 12.23 kB / 0.5789 GB, free: 36.02 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001638/1.219, allocations: 152 kB / 0.5791 GB, free: 35.88 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003179/1.22, allocations: 175.1 kB / 0.5793 GB, free: 35.7 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01849/1.238, allocations: 4.06 MB / 0.5832 GB, free: 31.64 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05428/1.292, allocations: 14.95 MB / 0.5978 GB, free: 16.35 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009333/1.302, allocations: 4.215 MB / 0.6019 GB, free: 11.84 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006901/1.303, allocations: 147 kB / 0.6021 GB, free: 11.68 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.72e-05/1.303, allocations: 52.56 kB / 0.6021 GB, free: 11.62 MB / 378.7 MB Notification: Performance of pre-optimization done (n=201): time 7.885e-06/1.303, allocations: 0 / 0.6021 GB, free: 11.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=221): time 0.04616/1.349, allocations: 10.18 MB / 0.6121 GB, free: 1.336 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.191e-05/1.349, allocations: 77.41 kB / 0.6121 GB, free: 1.246 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008229/1.357, allocations: 2.213 MB / 0.6143 GB, free: 15.02 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006893/1.358, allocations: 61.7 kB / 0.6144 GB, free: 14.95 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002401/1.36, allocations: 1.483 MB / 0.6158 GB, free: 13.45 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001777/1.362, allocations: 0.747 MB / 0.6165 GB, free: 12.69 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000415/1.363, allocations: 47.94 kB / 0.6166 GB, free: 12.64 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003963/1.363, allocations: 399.4 kB / 0.617 GB, free: 12.25 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00584/1.369, allocations: 1.308 MB / 0.6183 GB, free: 10.93 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007599/1.377, allocations: 1.733 MB / 0.6199 GB, free: 9.027 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004867/1.382, allocations: 1.548 MB / 0.6215 GB, free: 7.48 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.92e-05/1.382, allocations: 4 kB / 0.6215 GB, free: 7.477 MB / 394.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.01305/1.395, allocations: 3.882 MB / 0.6253 GB, free: 3.57 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.078e-05/1.395, allocations: 12 kB / 0.6253 GB, free: 3.559 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-05/1.395, allocations: 12 kB / 0.6253 GB, free: 3.547 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003506/1.398, allocations: 0.7583 MB / 0.626 GB, free: 2.773 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004512/1.403, allocations: 0.5266 MB / 0.6265 GB, free: 2.246 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01845/1.421, allocations: 8.944 MB / 0.6353 GB, free: 8.902 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003568/1.425, allocations: 131.9 kB / 0.6354 GB, free: 8.773 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006637/1.426, allocations: 83.98 kB / 0.6355 GB, free: 8.691 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 () * Number of clocked 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.004071/1.43, allocations: 1.208 MB / 0.6366 GB, free: 7.473 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001095/1.431, allocations: 276.6 kB / 0.6369 GB, free: 7.199 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01349/1.444, allocations: 3.781 MB / 0.6406 GB, free: 3.383 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.659e-05/1.444, allocations: 23.98 kB / 0.6406 GB, free: 3.359 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.088e-05/1.445, allocations: 8 kB / 0.6406 GB, free: 3.352 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.557e-05/1.445, allocations: 11.91 kB / 0.6406 GB, free: 3.34 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3332/1.778, allocations: 8.073 MB / 0.6485 GB, free: 80.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.769e-05/1.778, allocations: 7.75 kB / 0.6485 GB, free: 80.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003283/1.781, allocations: 397.5 kB / 0.6489 GB, free: 80.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00367/1.785, allocations: 0.8075 MB / 0.6497 GB, free: 80.45 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005417/1.785, allocations: 56.75 kB / 0.6498 GB, free: 80.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01581/1.801, allocations: 10.47 MB / 0.66 GB, free: 75.32 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/1.801, allocations: 3.875 kB / 0.66 GB, free: 75.32 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01425/1.816, allocations: 5.824 MB / 0.6657 GB, free: 74.68 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002418/1.818, allocations: 0.6445 MB / 0.6663 GB, free: 74.59 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007875/1.819, allocations: 52.97 kB / 0.6664 GB, free: 74.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002666/1.822, allocations: 128.7 kB / 0.6665 GB, free: 74.59 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006751/1.822, allocations: 189.1 kB / 0.6667 GB, free: 74.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002179/1.823, allocations: 60.89 kB / 0.6667 GB, free: 74.58 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003915/1.826, allocations: 1.705 MB / 0.6684 GB, free: 74.44 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.82e-07/1.827, allocations: 0 / 0.6684 GB, free: 74.44 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004119/1.831, allocations: 0.8368 MB / 0.6692 GB, free: 74.44 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 () * Number of clocked 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.01568/1.846, allocations: 7.354 MB / 0.6764 GB, free: 72.62 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01071/1.857, allocations: 3.922 MB / 0.6802 GB, free: 72 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.001e-05/1.857, allocations: 2.031 kB / 0.6802 GB, free: 72 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007146/1.864, allocations: 2.525 MB / 0.6827 GB, free: 71.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006514/1.871, allocations: 0.7374 MB / 0.6834 GB, free: 71.21 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06609/1.937, allocations: 31.92 MB / 0.7146 GB, free: 50.57 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004246/1.941, allocations: 2.795 MB / 0.7173 GB, free: 49.44 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0037/1.945, allocations: 1.406 MB / 0.7187 GB, free: 48.3 MB / 410.7 MB Notification: Performance of SimCode: time 1.242e-06/1.945, allocations: 0 / 0.7187 GB, free: 48.3 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.699/6.644, allocations: 155.3 MB / 0.8703 GB, free: 93.62 MB / 442.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Transformer_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Transformer.fmu > Modelica_3.2.3_cpp_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_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer_res.mat does not exist to compare? outputFormat=mat