Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.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_Steinmetz,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Steinmetz",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Steinmetz",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.001017/0.001017, 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.47/1.47, allocations: 205.3 MB / 214.4 MB, free: 1.742 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.0008449/0.0008449, allocations: 82.7 kB / 262.4 MB, free: 1.688 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.863e-05/1.865e-05, allocations: 8 kB / 315.6 MB, free: 22.61 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08346/0.0835, allocations: 47.58 MB / 363.2 MB, free: 6.977 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3004/0.3839, allocations: 103.5 MB / 466.7 MB, free: 8.23 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002515/0.3842, allocations: 89.03 kB / 466.7 MB, free: 8.184 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1074/0.4916, allocations: 40.84 MB / 0.4957 GB, free: 4.875 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4917, allocations: 0 / 0.4957 GB, free: 4.875 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001304/0.4918, allocations: 47.94 kB / 0.4957 GB, free: 4.828 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: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.004561/0.4964, allocations: 1.992 MB / 0.4977 GB, free: 2.785 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.671e-05/0.4965, allocations: 8.031 kB / 0.4977 GB, free: 2.777 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001202/0.4977, allocations: 273.1 kB / 0.4979 GB, free: 2.508 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003017/0.5007, allocations: 1.368 MB / 0.4993 GB, free: 1.082 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.884e-05/0.5008, allocations: 60 kB / 0.4993 GB, free: 1.023 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002881/0.5011, allocations: 119.9 kB / 0.4995 GB, free: 0.9062 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003301/0.5044, allocations: 1.737 MB / 0.5012 GB, free: 15.17 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003572/0.508, allocations: 2.105 MB / 0.5032 GB, free: 12.98 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.169e-05/0.5081, allocations: 4 kB / 0.5032 GB, free: 12.97 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001499/0.5082, allocations: 3.938 kB / 0.5032 GB, free: 12.97 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.664e-05/0.5083, allocations: 95.67 kB / 0.5033 GB, free: 12.88 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01295/0.5213, allocations: 7.465 MB / 0.5106 GB, free: 5.199 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001835/0.5232, allocations: 1.319 MB / 0.5119 GB, free: 3.836 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001418/0.5246, allocations: 0.8612 MB / 0.5127 GB, free: 2.969 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003277/0.525, allocations: 142.3 kB / 0.5129 GB, free: 2.809 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.141e-05/0.525, allocations: 43.88 kB / 0.5129 GB, free: 2.758 MB / 394.7 MB Notification: Performance of pre-optimization done (n=111): time 3.276e-06/0.525, allocations: 0 / 0.5129 GB, free: 2.758 MB / 394.7 MB Notification: Performance of matching and sorting (n=127): time 0.008759/0.5338, allocations: 4.216 MB / 0.517 GB, free: 14.48 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.924e-05/0.5339, allocations: 64.72 kB / 0.5171 GB, free: 14.4 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001608/0.5355, allocations: 0.8936 MB / 0.518 GB, free: 13.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001253/0.5356, allocations: 25.7 kB / 0.518 GB, free: 13.46 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006761/0.5363, allocations: 0.8805 MB / 0.5188 GB, free: 12.57 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003923/0.5367, allocations: 429.6 kB / 0.5192 GB, free: 12.15 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.851e-05/0.5368, allocations: 0 / 0.5192 GB, free: 12.15 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001749/0.537, allocations: 361.9 kB / 0.5196 GB, free: 11.79 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000909/0.5379, allocations: 0.6248 MB / 0.5202 GB, free: 11.16 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001162/0.5391, allocations: 0.926 MB / 0.5211 GB, free: 10.12 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001157/0.5402, allocations: 0.783 MB / 0.5219 GB, free: 9.332 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.177e-06/0.5403, allocations: 4 kB / 0.5219 GB, free: 9.328 MB / 410.7 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.003621/0.5439, allocations: 2.124 MB / 0.5239 GB, free: 7.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.971e-05/0.5439, allocations: 11.94 kB / 0.524 GB, free: 7.168 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.787e-05/0.544, allocations: 12 kB / 0.524 GB, free: 7.156 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001132/0.5451, allocations: 500 kB / 0.5244 GB, free: 6.652 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001256/0.5464, allocations: 327.5 kB / 0.5248 GB, free: 6.332 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2395/0.7859, allocations: 6.331 MB / 0.5309 GB, free: 106.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001636/0.7876, allocations: 59.39 kB / 0.531 GB, free: 106.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001561/0.7878, allocations: 54.61 kB / 0.5311 GB, free: 106.6 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (153): * Single equations (assignments): 148 * 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,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000315/0.7881, allocations: 139.1 kB / 0.5312 GB, free: 106.5 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00442/0.7925, allocations: 1.842 MB / 0.533 GB, free: 106.4 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000435/0.793, allocations: 138.7 kB / 0.5331 GB, free: 106.4 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003961/0.797, allocations: 1.96 MB / 0.535 GB, free: 106.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-05/0.797, allocations: 15.77 kB / 0.535 GB, free: 106.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/0.797, allocations: 4.531 kB / 0.5351 GB, free: 106.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-05/0.7971, allocations: 10.92 kB / 0.5351 GB, free: 106.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007769/0.8048, allocations: 3.952 MB / 0.5389 GB, free: 105.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.134e-05/0.8049, allocations: 4.297 kB / 0.5389 GB, free: 105.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001127/0.806, allocations: 227.9 kB / 0.5391 GB, free: 105.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001547/0.8076, allocations: 0.5408 MB / 0.5397 GB, free: 105.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001172/0.8077, allocations: 17.92 kB / 0.5397 GB, free: 105.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008142/0.8159, allocations: 7.829 MB / 0.5473 GB, free: 101 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-05/0.8159, allocations: 5.422 kB / 0.5473 GB, free: 101 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006561/0.8225, allocations: 3.047 MB / 0.5503 GB, free: 100.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001041/0.8235, allocations: 353.2 kB / 0.5506 GB, free: 100.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001941/0.8238, allocations: 16.45 kB / 0.5507 GB, free: 100.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007757/0.8245, allocations: 55.19 kB / 0.5507 GB, free: 100.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003607/0.8249, allocations: 102.8 kB / 0.5508 GB, free: 100.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001021/0.825, allocations: 37.69 kB / 0.5509 GB, free: 100.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001314/0.8263, allocations: 0.6702 MB / 0.5515 GB, free: 100.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.8264, allocations: 0 / 0.5515 GB, free: 100.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001748/0.8281, allocations: 414.8 kB / 0.5519 GB, free: 100.2 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 95 * 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,100.0%) 9,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004588/0.8327, allocations: 4.381 MB / 0.5562 GB, free: 98.56 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003265/0.836, allocations: 2.198 MB / 0.5583 GB, free: 98 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.836, allocations: 0 / 0.5583 GB, free: 98 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001867/0.8379, allocations: 1.51 MB / 0.5598 GB, free: 97.43 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001792/0.8397, allocations: 304 kB / 0.5601 GB, free: 97.36 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00694/0.8466, allocations: 3.842 MB / 0.5638 GB, free: 95.79 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001153/0.8478, allocations: 1.691 MB / 0.5655 GB, free: 94.92 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001007/0.8489, allocations: 315.7 kB / 0.5658 GB, free: 94.88 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007755/0.8496, allocations: 0.7089 MB / 0.5665 GB, free: 94.31 MB / 410.7 MB Notification: Performance of SimCode: time 7.01e-07/0.8496, allocations: 2.812 kB / 0.5665 GB, free: 94.31 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06478/0.9144, allocations: 34.37 MB / 0.6001 GB, free: 81.25 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001766/0.9147, allocations: 184.9 kB / 0.6002 GB, free: 81.05 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.144/4.059, allocations: 0 / 0.6002 GB, free: 81.05 MB / 410.7 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Steinmetz_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Steinmetz.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz_res.mat does not exist to compare? outputFormat=mat