Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 76.06 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009281/0.0009281, allocations: 149.1 kB / 23.93 MB, free: 0.6289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8971/0.8971, allocations: 173.4 MB / 200.4 MB, free: 9.457 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Steinmetz",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Steinmetz",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 318.4 MB, free: 6.363 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.354e-05/1.503e-05, allocations: 2.281 kB / 318.5 MB, free: 6.359 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.006715/0.00673, allocations: 8.583 MB / 327 MB, free: 13.73 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003808/0.01054, allocations: 2.863 MB / 329.9 MB, free: 10.86 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007195/0.01126, allocations: 59.62 kB / 330 MB, free: 10.8 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001126/0.01238, allocations: 0.6247 MB / 330.6 MB, free: 10.17 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001312/0.0137, allocations: 0.8225 MB / 331.4 MB, free: 9.344 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006229/0.01432, allocations: 383.2 kB / 331.8 MB, free: 8.969 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002323/0.01664, allocations: 2.513 MB / 334.3 MB, free: 6.441 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009954/0.01764, allocations: 1.001 MB / 335.3 MB, free: 5.398 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001419/0.01906, allocations: 1.61 MB / 336.9 MB, free: 3.785 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009542/0.02001, allocations: 1.114 MB / 338 MB, free: 2.668 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002077/0.02022, allocations: 280 kB / 338.3 MB, free: 2.395 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003824/0.0206, allocations: 359.8 kB / 338.6 MB, free: 2.043 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005841/0.02118, allocations: 0.8101 MB / 339.5 MB, free: 1.23 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000553/0.02174, allocations: 0.873 MB / 340.3 MB, free: 360 kB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002526/0.02426, allocations: 3.692 MB / 344 MB, free: 12.65 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.02427, allocations: 0 / 344 MB, free: 12.65 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.02427, allocations: 0 / 344 MB, free: 12.65 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.224e-05/0.0243, allocations: 0 / 344 MB, free: 12.65 MB / 314.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.002779/0.02708, allocations: 2.537 MB / 346.6 MB, free: 10.07 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/0.02713, allocations: 8.922 kB / 346.6 MB, free: 10.06 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002466/0.02738, allocations: 286.5 kB / 346.8 MB, free: 9.773 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004085/0.02779, allocations: 279.4 kB / 347.1 MB, free: 9.5 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001407/0.0292, allocations: 1.274 MB / 348.4 MB, free: 8.184 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.448e-05/0.02927, allocations: 152.1 kB / 348.5 MB, free: 8.035 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001832/0.02945, allocations: 196.3 kB / 348.7 MB, free: 7.844 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002781/0.03224, allocations: 2.527 MB / 351.3 MB, free: 5.254 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.369e-05/0.03228, allocations: 8 kB / 351.3 MB, free: 5.246 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001149/0.03239, allocations: 72 kB / 351.3 MB, free: 5.176 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.315e-05/0.03246, allocations: 87.69 kB / 351.4 MB, free: 5.09 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002152/0.03461, allocations: 1.959 MB / 353.4 MB, free: 3.129 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007498/0.04211, allocations: 7.037 MB / 360.4 MB, free: 11.85 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001129/0.04324, allocations: 1.01 MB / 361.4 MB, free: 10.83 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001123/0.04436, allocations: 0.9133 MB / 362.3 MB, free: 9.914 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001583/0.04452, allocations: 44.91 kB / 362.4 MB, free: 9.871 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.04455, allocations: 47.55 kB / 362.4 MB, free: 9.816 MB / 330.7 MB Notification: Performance of pre-optimization done (n=95): time 2.465e-06/0.04455, allocations: 0 / 362.4 MB, free: 9.816 MB / 330.7 MB Notification: Performance of matching and sorting (n=111): time 0.007801/0.05235, allocations: 5.503 MB / 367.9 MB, free: 4.27 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.683e-05/0.05239, allocations: 64.41 kB / 368 MB, free: 4.195 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001194/0.05358, allocations: 1.317 MB / 369.3 MB, free: 2.871 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.461e-05/0.05363, allocations: 41.7 kB / 369.4 MB, free: 2.824 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004352/0.05407, allocations: 0.9418 MB / 370.3 MB, free: 1.871 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002004/0.05427, allocations: 404.6 kB / 370.7 MB, free: 1.473 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002474/0.05452, allocations: 247.5 kB / 370.9 MB, free: 1.223 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0003607/0.05488, allocations: 365.9 kB / 371.3 MB, free: 0.8594 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006526/0.05553, allocations: 0.6402 MB / 371.9 MB, free: 224 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008131/0.05634, allocations: 0.9967 MB / 372.9 MB, free: 15.07 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00154/0.05788, allocations: 1.735 MB / 374.7 MB, free: 13.19 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.05789, allocations: 4 kB / 374.7 MB, free: 13.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.002383/0.06027, allocations: 2.246 MB / 376.9 MB, free: 10.91 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.06029, allocations: 11.94 kB / 376.9 MB, free: 10.9 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.0603, allocations: 12 kB / 376.9 MB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007281/0.06103, allocations: 492.2 kB / 377.4 MB, free: 10.39 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005922/0.06162, allocations: 303.5 kB / 377.7 MB, free: 10.1 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00498/0.0666, allocations: 6.784 MB / 384.5 MB, free: 2.977 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008573/0.06746, allocations: 79.92 kB / 384.6 MB, free: 2.898 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.291e-05/0.06755, allocations: 59.98 kB / 384.6 MB, free: 2.84 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 2 (idealOpener.control,idealCloser.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,12,100.0%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009493/0.0685, allocations: 0.5989 MB / 385.2 MB, free: 2.23 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001526/0.06866, allocations: 159 kB / 385.4 MB, free: 2.074 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0021/0.07076, allocations: 1.953 MB / 387.3 MB, free: 100 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.832e-06/0.07076, allocations: 12 kB / 387.3 MB, free: 88 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.07077, allocations: 4 kB / 387.4 MB, free: 84 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.267e-06/0.07078, allocations: 7.969 kB / 387.4 MB, free: 76 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004311/0.07509, allocations: 3.862 MB / 391.2 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.07509, allocations: 64 / 391.2 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004461/0.07554, allocations: 187.8 kB / 391.4 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008136/0.07635, allocations: 0.5469 MB / 392 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.354e-05/0.07641, allocations: 23.98 kB / 392 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006517/0.08292, allocations: 8.276 MB / 400.3 MB, free: 2.617 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.08293, allocations: 4.031 kB / 400.3 MB, free: 2.613 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002855/0.08578, allocations: 2.844 MB / 403.1 MB, free: 15.71 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004589/0.08624, allocations: 290.9 kB / 403.4 MB, free: 15.43 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001102/0.08635, allocations: 31.98 kB / 403.4 MB, free: 15.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003957/0.08675, allocations: 63.92 kB / 403.5 MB, free: 15.33 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001579/0.08691, allocations: 92.86 kB / 403.6 MB, free: 15.24 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.493e-05/0.08695, allocations: 39.92 kB / 403.6 MB, free: 15.2 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008746/0.08782, allocations: 0.8878 MB / 404.5 MB, free: 14.31 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.08783, allocations: 0 / 404.5 MB, free: 14.31 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001073/0.0889, allocations: 443.9 kB / 404.9 MB, free: 13.88 MB / 378.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 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,12,100.0%), (1,1,100.0%), (2,8,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003539/0.09244, allocations: 3.46 MB / 408.4 MB, free: 10.35 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002082/0.09452, allocations: 2.003 MB / 410.4 MB, free: 8.301 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.09452, allocations: 0 / 410.4 MB, free: 8.301 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001268/0.09579, allocations: 1.384 MB / 411.8 MB, free: 6.863 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001088/0.09688, allocations: 421.7 kB / 412.2 MB, free: 6.465 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01753/0.1144, allocations: 15.55 MB / 427.7 MB, free: 6.348 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001023/0.1154, allocations: 1.08 MB / 428.8 MB, free: 5.23 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0007314/0.1162, allocations: 324.8 kB / 429.1 MB, free: 4.906 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007857/0.1169, allocations: 0.719 MB / 429.9 MB, free: 4.188 MB / 394.7 MB Notification: Performance of SimCode: time 9.51e-07/0.1169, allocations: 0 / 429.9 MB, free: 4.188 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1965/0.3135, allocations: 42.58 MB / 472.4 MB, free: 105.4 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.068/8.381, allocations: 8 kB / 472.4 MB, free: 105.4 MB / 410.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_4_0_0_Modelica_Electrical_Machines_Examples_InductionMachines_IMC_Steinmetz.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.314706211909652] Failed to read output from testmodel.py, exit status != 0: ['time', 'aimc.is[1]', 'aimc.is[2]', 'aimc.idq_rr[1]', 'aimc.idq_rr[2]', 'aimc.idq_sr[1]', 'aimc.idq_sr[2]', 'cRun.v', 'cStart.v', 'loadInertia.phi', 'loadInertia.w'] 8.48957065679133 8.501394502 8.475427144 Calling exit ...