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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008468/0.0008468, allocations: 83.62 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.005178/0.005178, allocations: 165.6 kB / 24.7 MB, free: 8.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8805/0.8805, allocations: 158.6 MB / 186.5 MB, free: 3.027 MB / 170.7 MB " [Timeout remaining time 179] 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 298.5 MB, free: 3.488 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.948e-05/2.099e-05, allocations: 6.281 kB / 298.5 MB, free: 3.48 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz): time 0.1489/0.149, allocations: 8.532 MB / 307 MB, free: 11.29 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005445/0.1544, allocations: 2.907 MB / 309.9 MB, free: 9.371 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001573/0.156, allocations: 49.09 kB / 310 MB, free: 9.352 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00158/0.1576, allocations: 0.6269 MB / 310.6 MB, free: 9.031 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002532/0.1601, allocations: 0.8173 MB / 311.4 MB, free: 8.496 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001052/0.1611, allocations: 382.4 kB / 311.8 MB, free: 8.266 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003224/0.1644, allocations: 2.553 MB / 314.3 MB, free: 6.93 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001507/0.1659, allocations: 0.9877 MB / 315.3 MB, free: 6.418 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002796/0.1687, allocations: 1.605 MB / 316.9 MB, free: 5.684 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001976/0.1706, allocations: 1.112 MB / 318 MB, free: 5.297 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006511/0.1713, allocations: 280.4 kB / 318.3 MB, free: 5.297 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008583/0.1722, allocations: 372.8 kB / 318.7 MB, free: 5.27 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006839/0.1728, allocations: 0.8052 MB / 319.5 MB, free: 4.805 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001356/0.1742, allocations: 0.8717 MB / 320.3 MB, free: 4.383 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003197/0.1774, allocations: 3.693 MB / 324 MB, free: 1.945 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.1774, allocations: 1.375 kB / 324 MB, free: 1.945 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1774, allocations: 0 / 324 MB, free: 1.945 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.192e-05/0.1775, allocations: 0 / 324 MB, free: 1.945 MB / 282.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.004496/0.182, allocations: 2.538 MB / 326.6 MB, free: 180 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.411e-05/0.182, allocations: 13.77 kB / 326.6 MB, free: 176 kB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002841/0.1823, allocations: 273.3 kB / 326.9 MB, free: 15.96 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005728/0.1829, allocations: 284.1 kB / 327.1 MB, free: 15.82 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001741/0.1846, allocations: 1.206 MB / 328.3 MB, free: 14.95 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001006/0.1847, allocations: 142.4 kB / 328.5 MB, free: 14.89 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002255/0.185, allocations: 197.5 kB / 328.7 MB, free: 14.82 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003081/0.188, allocations: 2.517 MB / 331.2 MB, free: 13.28 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.117e-05/0.1881, allocations: 13.66 kB / 331.2 MB, free: 13.27 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001238/0.1882, allocations: 78.5 kB / 331.3 MB, free: 13.21 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.406e-05/0.1883, allocations: 91.55 kB / 331.4 MB, free: 13.19 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00249/0.1908, allocations: 1.956 MB / 333.3 MB, free: 11.73 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00846/0.1992, allocations: 7.041 MB / 340.4 MB, free: 4.469 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001078/0.2003, allocations: 1.001 MB / 341.4 MB, free: 3.461 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001116/0.2014, allocations: 0.9083 MB / 342.3 MB, free: 2.547 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001517/0.2016, allocations: 52.95 kB / 342.3 MB, free: 2.496 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/0.2016, allocations: 47.5 kB / 342.4 MB, free: 2.441 MB / 298.7 MB Notification: Performance of pre-optimization done (n=95): time 3.015e-06/0.2016, allocations: 3.984 kB / 342.4 MB, free: 2.438 MB / 298.7 MB Notification: Performance of matching and sorting (n=111): time 0.008086/0.2097, allocations: 5.51 MB / 347.9 MB, free: 12.88 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.498e-05/0.2097, allocations: 69.83 kB / 348 MB, free: 12.8 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001841/0.2116, allocations: 1.321 MB / 349.3 MB, free: 11.48 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.444e-05/0.2117, allocations: 41.7 kB / 349.3 MB, free: 11.43 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004635/0.2121, allocations: 0.9419 MB / 350.3 MB, free: 10.48 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002218/0.2123, allocations: 408.5 kB / 350.7 MB, free: 10.07 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002549/0.2126, allocations: 247.5 kB / 350.9 MB, free: 9.824 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.2127, allocations: 361.9 kB / 351.3 MB, free: 9.465 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006708/0.2134, allocations: 0.6403 MB / 351.9 MB, free: 8.824 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007988/0.2142, allocations: 0.9967 MB / 352.9 MB, free: 7.676 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001476/0.2157, allocations: 1.731 MB / 354.6 MB, free: 5.793 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.2157, allocations: 4 kB / 354.6 MB, free: 5.789 MB / 314.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.002712/0.2184, allocations: 2.242 MB / 356.9 MB, free: 3.527 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.2184, allocations: 12 kB / 356.9 MB, free: 3.516 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.624e-05/0.2184, allocations: 15.92 kB / 356.9 MB, free: 3.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007381/0.2191, allocations: 496.2 kB / 357.4 MB, free: 3 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005782/0.2197, allocations: 299.5 kB / 357.7 MB, free: 2.707 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004664/0.2244, allocations: 6.772 MB / 364.4 MB, free: 11.6 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000976/0.2254, allocations: 87.86 kB / 364.5 MB, free: 11.51 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.878e-05/0.2254, allocations: 52 kB / 364.6 MB, free: 11.46 MB / 330.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.001008/0.2264, allocations: 0.6067 MB / 365.2 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002041/0.2266, allocations: 154.9 kB / 365.3 MB, free: 10.69 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0021/0.2287, allocations: 1.958 MB / 367.3 MB, free: 8.703 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.2288, allocations: 15.94 kB / 367.3 MB, free: 8.688 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.2288, allocations: 4 kB / 367.3 MB, free: 8.684 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.136e-06/0.2288, allocations: 3.984 kB / 367.3 MB, free: 8.68 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004576/0.2333, allocations: 3.855 MB / 371.2 MB, free: 4.738 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-06/0.2334, allocations: 4.062 kB / 371.2 MB, free: 4.734 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004306/0.2338, allocations: 183.8 kB / 371.4 MB, free: 4.555 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008354/0.2346, allocations: 0.5312 MB / 371.9 MB, free: 4.008 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.77e-05/0.2347, allocations: 35.98 kB / 371.9 MB, free: 3.973 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0052/0.2399, allocations: 8.29 MB / 380.2 MB, free: 11.22 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.2399, allocations: 8.062 kB / 380.2 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003082/0.243, allocations: 2.841 MB / 383.1 MB, free: 8.316 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006664/0.2436, allocations: 286.8 kB / 383.3 MB, free: 8.035 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001156/0.2437, allocations: 27.98 kB / 383.4 MB, free: 8.008 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000437/0.2442, allocations: 71.92 kB / 383.4 MB, free: 7.938 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001952/0.2444, allocations: 88.86 kB / 383.5 MB, free: 7.852 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.453e-05/0.2444, allocations: 28 kB / 383.6 MB, free: 7.824 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001327/0.2457, allocations: 0.8994 MB / 384.5 MB, free: 6.922 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2457, allocations: 0 / 384.5 MB, free: 6.922 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001288/0.247, allocations: 439.9 kB / 384.9 MB, free: 6.492 MB / 346.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.003447/0.2505, allocations: 3.471 MB / 388.4 MB, free: 2.949 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002492/0.253, allocations: 2 MB / 390.4 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.253, allocations: 0 / 390.4 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001449/0.2544, allocations: 1.376 MB / 391.7 MB, free: 15.47 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00149/0.2559, allocations: 428.8 kB / 392.2 MB, free: 15.06 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01855/0.2745, allocations: 15.56 MB / 407.7 MB, free: 14.95 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008572/0.2753, allocations: 1.072 MB / 408.8 MB, free: 13.83 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0007434/0.2761, allocations: 324.8 kB / 409.1 MB, free: 13.51 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000646/0.2767, allocations: 0.719 MB / 409.8 MB, free: 12.79 MB / 378.7 MB Notification: Performance of SimCode: time 2.285e-06/0.2767, allocations: 0 / 409.8 MB, free: 12.79 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06577/0.3425, allocations: 42.62 MB / 452.4 MB, free: 2.043 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.202/8.544, allocations: 0 / 452.4 MB, free: 2.043 MB / 410.7 MB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_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_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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.39105671364814] 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.65039839874953 8.662613068 8.483429769 Calling exit ...