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/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.001051/0.001051, allocations: 87.62 kB / 21.43 MB, free: 3.137 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.00569/0.00569, allocations: 162.5 kB / 24.69 MB, free: 9.414 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.9365/0.9365, 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_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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 298.4 MB, free: 3.602 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.069e-05/2.25e-05, allocations: 2.281 kB / 298.4 MB, free: 3.598 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer): time 0.1405/0.1406, allocations: 11.23 MB / 309.7 MB, free: 9.664 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.008195/0.1488, allocations: 4.041 MB / 313.7 MB, free: 6.809 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002788/0.1515, allocations: 91.03 kB / 313.8 MB, free: 6.766 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004066/0.1556, allocations: 0.9627 MB / 314.8 MB, free: 6.277 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005585/0.1612, allocations: 1.282 MB / 316.1 MB, free: 5.453 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001636/0.1628, allocations: 0.5322 MB / 316.6 MB, free: 5.113 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.006226/0.1691, allocations: 4.843 MB / 321.4 MB, free: 2.594 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002577/0.1716, allocations: 1.957 MB / 323.4 MB, free: 1.609 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006162/0.1778, allocations: 3.148 MB / 326.5 MB, free: 15.81 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004513/0.1823, allocations: 2.289 MB / 328.8 MB, free: 14.43 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001454/0.1838, allocations: 0.5529 MB / 329.4 MB, free: 14.43 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002087/0.1859, allocations: 0.646 MB / 330 MB, free: 14.38 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001878/0.1877, allocations: 1.577 MB / 331.6 MB, free: 13.18 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004608/0.1923, allocations: 1.725 MB / 333.3 MB, free: 11.91 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007494/0.1998, allocations: 7.537 MB / 340.9 MB, free: 4.348 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.1998, allocations: 0 / 340.9 MB, free: 4.348 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.355e-06/0.1998, allocations: 1.594 kB / 340.9 MB, free: 4.348 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0002058/0.2, allocations: 4 kB / 340.9 MB, free: 4.344 MB / 298.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.008833/0.2089, allocations: 4.676 MB / 345.5 MB, free: 15.61 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/0.2089, allocations: 11.98 kB / 345.6 MB, free: 15.6 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007937/0.2097, allocations: 0.502 MB / 346.1 MB, free: 15.09 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001224/0.2109, allocations: 0.5136 MB / 346.6 MB, free: 14.57 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004632/0.2156, allocations: 2.364 MB / 348.9 MB, free: 12.16 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001897/0.2158, allocations: 263.4 kB / 349.2 MB, free: 11.91 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007383/0.2165, allocations: 353.4 kB / 349.5 MB, free: 11.56 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009126/0.2256, allocations: 5.276 MB / 354.8 MB, free: 6.16 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.938e-05/0.2257, allocations: 7.938 kB / 354.8 MB, free: 6.152 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003968/0.2261, allocations: 144 kB / 355 MB, free: 6.012 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001535/0.2263, allocations: 187 kB / 355.1 MB, free: 5.828 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007136/0.2334, allocations: 4.287 MB / 359.4 MB, free: 1.535 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02042/0.2538, allocations: 13.4 MB / 372.8 MB, free: 3.82 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003052/0.2569, allocations: 2.703 MB / 375.5 MB, free: 1.152 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002701/0.2596, allocations: 1.87 MB / 377.4 MB, free: 15.28 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001881/0.2598, allocations: 61.91 kB / 377.5 MB, free: 15.22 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.673e-05/0.2598, allocations: 52.56 kB / 377.5 MB, free: 15.16 MB / 346.7 MB Notification: Performance of pre-optimization done (n=198): time 3.597e-06/0.2598, allocations: 0 / 377.5 MB, free: 15.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=218): time 0.01591/0.2757, allocations: 9.683 MB / 387.2 MB, free: 5.465 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.202e-05/0.2758, allocations: 85.28 kB / 387.3 MB, free: 5.371 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003664/0.2794, allocations: 2.529 MB / 389.8 MB, free: 2.82 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002364/0.2797, allocations: 65.7 kB / 389.9 MB, free: 2.75 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001161/0.2808, allocations: 1.65 MB / 391.5 MB, free: 1.082 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005737/0.2814, allocations: 0.7591 MB / 392.3 MB, free: 324 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005287/0.2819, allocations: 420.5 kB / 392.7 MB, free: 15.89 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.965e-05/0.282, allocations: 309 kB / 393 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001852/0.2839, allocations: 1.297 MB / 394.3 MB, free: 14.29 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001802/0.2857, allocations: 1.778 MB / 396.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003993/0.2897, allocations: 3.219 MB / 399.3 MB, free: 8.918 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.555e-05/0.2897, allocations: 8 kB / 399.3 MB, free: 8.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.005224/0.2949, allocations: 4.069 MB / 403.4 MB, free: 4.816 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.726e-05/0.2949, allocations: 8.469 kB / 403.4 MB, free: 4.809 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.027e-05/0.295, allocations: 20 kB / 403.4 MB, free: 4.789 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001699/0.2967, allocations: 0.8716 MB / 404.3 MB, free: 3.902 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001898/0.2986, allocations: 0.5266 MB / 404.8 MB, free: 3.375 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007892/0.3065, allocations: 9.069 MB / 413.9 MB, free: 9.969 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001761/0.3082, allocations: 127.8 kB / 414 MB, free: 9.844 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001926/0.3084, allocations: 84 kB / 414.1 MB, free: 9.762 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (252): * Single equations (assignments): 247 * 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 {(3,25,77.8%), (2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001947/0.3104, allocations: 1.215 MB / 415.3 MB, free: 8.535 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004847/0.3108, allocations: 290.2 kB / 415.6 MB, free: 8.25 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004811/0.3157, allocations: 3.703 MB / 419.3 MB, free: 4.512 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-05/0.3157, allocations: 20 kB / 419.3 MB, free: 4.492 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.512e-05/0.3157, allocations: 11.98 kB / 419.3 MB, free: 4.48 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.557e-05/0.3157, allocations: 11.97 kB / 419.3 MB, free: 4.469 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01058/0.3263, allocations: 7.544 MB / 426.9 MB, free: 12.82 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-05/0.3263, allocations: 4 kB / 426.9 MB, free: 12.81 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008822/0.3272, allocations: 379.5 kB / 427.2 MB, free: 12.44 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001766/0.3289, allocations: 0.9336 MB / 428.2 MB, free: 11.49 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001617/0.3291, allocations: 51.98 kB / 428.2 MB, free: 11.44 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008689/0.3378, allocations: 10.55 MB / 438.8 MB, free: 432 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.905e-06/0.3378, allocations: 4 kB / 438.8 MB, free: 428 kB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007693/0.3455, allocations: 5.494 MB / 444.3 MB, free: 10.86 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00158/0.3471, allocations: 0.5723 MB / 444.8 MB, free: 10.28 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004308/0.3475, allocations: 51.98 kB / 444.9 MB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008799/0.3484, allocations: 119.9 kB / 445 MB, free: 10.11 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003763/0.3488, allocations: 189.6 kB / 445.2 MB, free: 9.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.723e-05/0.3488, allocations: 59.98 kB / 445.3 MB, free: 9.871 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002471/0.3513, allocations: 1.734 MB / 447 MB, free: 8.125 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3513, allocations: 0 / 447 MB, free: 8.125 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002704/0.354, allocations: 0.7968 MB / 447.8 MB, free: 7.328 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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],transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],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 (175): * Single equations (assignments): 170 * 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%), (3,25,88.9%), (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.007339/0.3614, allocations: 6.195 MB / 454 MB, free: 1.051 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004987/0.3664, allocations: 3.62 MB / 457.6 MB, free: 13.38 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/0.3664, allocations: 0 / 457.6 MB, free: 13.38 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002752/0.3691, allocations: 2.303 MB / 459.9 MB, free: 11.04 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002913/0.372, allocations: 0.7959 MB / 460.7 MB, free: 10.23 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.179/0.551, allocations: 29.61 MB / 490.3 MB, free: 130.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00197/0.553, allocations: 2.229 MB / 492.5 MB, free: 130.2 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001725/0.5547, allocations: 0.693 MB / 493.2 MB, free: 130.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001329/0.556, allocations: 1.413 MB / 494.6 MB, free: 129.1 MB / 426.7 MB Notification: Performance of SimCode: time 1.282e-06/0.556, allocations: 0 / 494.6 MB, free: 129.1 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09075/0.6468, allocations: 78.07 MB / 0.5593 GB, free: 56 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.746/10.39, allocations: 0 / 0.5593 GB, free: 56 MB / 426.7 MB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer_res.csv --start-time 0 --stop-time 2.5 --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_Transformer.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.291052226908505] 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]', 'loadInertia.phi', 'loadInertia.w', 'transformer.l2sigma.inductor[2].i', 'transformer.l2sigma.inductor[3].i'] 10.518668978475034 10.524922197 10.323193502 Calling exit ...