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.001521/0.001521, allocations: 121.5 kB / 19.17 MB, free: 3.898 MB / 14.72 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.001294/0.001294, allocations: 203.9 kB / 22.12 MB, free: 0.9609 MB / 14.72 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 1.406/1.406, allocations: 207.6 MB / 232.5 MB, free: 3.98 MB / 174.1 MB " [Timeout remaining time 178] 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="cs",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="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001874/0.001874, allocations: 48.56 kB / 343 MB, free: 9.992 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09146/0.09334, allocations: 49.13 MB / 392.1 MB, free: 8.695 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer): time 0.01595/0.1093, allocations: 12.87 MB / 405 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009252/0.1185, allocations: 4.265 MB / 409.3 MB, free: 7.492 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002674/0.1212, allocations: 83.38 kB / 409.4 MB, free: 7.41 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003185/0.1244, allocations: 1.017 MB / 410.4 MB, free: 6.387 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004286/0.1287, allocations: 1.235 MB / 411.6 MB, free: 5.145 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001622/0.1303, allocations: 0.5228 MB / 412.1 MB, free: 4.621 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006103/0.1364, allocations: 4.665 MB / 416.8 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004386/0.1408, allocations: 2.63 MB / 419.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004284/0.1451, allocations: 2.184 MB / 421.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004336/0.1494, allocations: 2.619 MB / 424.2 MB, free: 8.418 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000991/0.1504, allocations: 0.5508 MB / 424.8 MB, free: 7.867 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001404/0.1518, allocations: 0.6443 MB / 425.4 MB, free: 7.223 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001489/0.1533, allocations: 1.535 MB / 427 MB, free: 5.684 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003267/0.1566, allocations: 2.481 MB / 429.4 MB, free: 3.191 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009332/0.1659, allocations: 7.443 MB / 436.9 MB, free: 11.72 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.1659, allocations: 3.938 kB / 436.9 MB, free: 11.72 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1659, allocations: 0 / 436.9 MB, free: 11.72 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002105/0.1661, allocations: 0 / 436.9 MB, free: 11.72 MB / 366.1 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.01088/0.177, allocations: 4.804 MB / 441.7 MB, free: 6.844 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.177, allocations: 8.031 kB / 441.7 MB, free: 6.836 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001008/0.1771, allocations: 95.25 kB / 441.8 MB, free: 6.742 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007489/0.1779, allocations: 0.4981 MB / 442.3 MB, free: 6.234 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001349/0.1792, allocations: 0.5175 MB / 442.8 MB, free: 5.715 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004508/0.1837, allocations: 2.421 MB / 445.2 MB, free: 3.246 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002225/0.184, allocations: 267 kB / 445.5 MB, free: 2.984 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006014/0.1846, allocations: 355.9 kB / 445.8 MB, free: 2.637 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009129/0.1937, allocations: 5.017 MB / 450.9 MB, free: 13.55 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.958e-05/0.1938, allocations: 11.95 kB / 450.9 MB, free: 13.54 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003485/0.1941, allocations: 143.9 kB / 451 MB, free: 13.4 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002013/0.1943, allocations: 191 kB / 451.2 MB, free: 13.21 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00793/0.2023, allocations: 4.291 MB / 455.5 MB, free: 8.918 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2111/0.4134, allocations: 14.75 MB / 470.2 MB, free: 53.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004083/0.4175, allocations: 4.066 MB / 474.3 MB, free: 51.85 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003114/0.4206, allocations: 1.877 MB / 476.2 MB, free: 51.24 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002774/0.4209, allocations: 130.2 kB / 476.3 MB, free: 51.14 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.862e-05/0.4209, allocations: 59.25 kB / 476.4 MB, free: 51.09 MB / 382.1 MB Notification: Performance of pre-optimization done (n=198): time 3.717e-06/0.4209, allocations: 1.094 kB / 476.4 MB, free: 51.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=218): time 0.01815/0.4391, allocations: 10.06 MB / 486.4 MB, free: 47.22 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.176e-05/0.4391, allocations: 77.09 kB / 486.5 MB, free: 47.15 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003147/0.4423, allocations: 2.506 MB / 489 MB, free: 45.84 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001462/0.4424, allocations: 67.61 kB / 489.1 MB, free: 45.77 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008675/0.4433, allocations: 1.655 MB / 490.7 MB, free: 44.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005236/0.4438, allocations: 0.7647 MB / 491.5 MB, free: 43.95 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005673/0.4444, allocations: 419.9 kB / 491.9 MB, free: 43.71 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.262e-05/0.4444, allocations: 301.1 kB / 492.2 MB, free: 43.42 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001495/0.4459, allocations: 1.309 MB / 493.5 MB, free: 42.74 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001754/0.4477, allocations: 1.784 MB / 495.3 MB, free: 41.48 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00332/0.451, allocations: 3.212 MB / 498.5 MB, free: 39.48 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.338e-06/0.451, allocations: 11.5 kB / 498.5 MB, free: 39.47 MB / 382.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.005308/0.4563, allocations: 4.071 MB / 0.4908 GB, free: 35.53 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.883e-05/0.4563, allocations: 8 kB / 0.4908 GB, free: 35.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/0.4564, allocations: 16 kB / 0.4908 GB, free: 35.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002388/0.4587, allocations: 0.8721 MB / 0.4917 GB, free: 34.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00181/0.4606, allocations: 0.5298 MB / 0.4922 GB, free: 34.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007642/0.4682, allocations: 9.484 MB / 0.5014 GB, free: 24.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00198/0.4702, allocations: 119.9 kB / 0.5016 GB, free: 24.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001409/0.4703, allocations: 80 kB / 0.5016 GB, free: 24 MB / 382.1 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.002176/0.4725, allocations: 1.217 MB / 0.5028 GB, free: 22.79 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004989/0.473, allocations: 294.1 kB / 0.5031 GB, free: 22.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005042/0.478, allocations: 3.701 MB / 0.5067 GB, free: 18.77 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.083e-05/0.478, allocations: 27.19 kB / 0.5067 GB, free: 18.74 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/0.4781, allocations: 8 kB / 0.5068 GB, free: 18.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.566e-05/0.4781, allocations: 11.91 kB / 0.5068 GB, free: 18.72 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01072/0.4888, allocations: 8.009 MB / 0.5146 GB, free: 10.65 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.979e-06/0.4888, allocations: 0 / 0.5146 GB, free: 10.65 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001434/0.4902, allocations: 383.4 kB / 0.515 GB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00262/0.4929, allocations: 0.9335 MB / 0.5159 GB, free: 9.324 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001537/0.493, allocations: 52.86 kB / 0.5159 GB, free: 9.273 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008972/0.502, allocations: 11.07 MB / 0.5267 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.055e-06/0.502, allocations: 12 kB / 0.5267 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009145/0.5111, allocations: 5.507 MB / 0.5321 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001552/0.5127, allocations: 0.6475 MB / 0.5327 GB, free: 7.402 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000342/0.513, allocations: 44.09 kB / 0.5328 GB, free: 7.359 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001317/0.5143, allocations: 123.8 kB / 0.5329 GB, free: 7.238 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004338/0.5148, allocations: 181.8 kB / 0.5331 GB, free: 7.059 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001462/0.5149, allocations: 63.98 kB / 0.5331 GB, free: 6.996 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002671/0.5176, allocations: 1.731 MB / 0.5348 GB, free: 5.254 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5176, allocations: 0 / 0.5348 GB, free: 5.254 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002688/0.5203, allocations: 0.7986 MB / 0.5356 GB, free: 4.461 MB / 398.1 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.009834/0.5301, allocations: 6.208 MB / 0.5417 GB, free: 14.19 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006758/0.5369, allocations: 3.763 MB / 0.5454 GB, free: 10.35 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.797e-06/0.5369, allocations: 0 / 0.5454 GB, free: 10.35 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004306/0.5412, allocations: 2.39 MB / 0.5477 GB, free: 7.887 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004016/0.5452, allocations: 0.7835 MB / 0.5485 GB, free: 7.109 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0534/0.5986, allocations: 29.58 MB / 0.5773 GB, free: 8.793 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002849/0.6015, allocations: 2.781 MB / 0.5801 GB, free: 5.984 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002075/0.6035, allocations: 0.6788 MB / 0.5807 GB, free: 5.301 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00198/0.6055, allocations: 1.409 MB / 0.5821 GB, free: 3.891 MB / 446.1 MB Notification: Performance of SimCode: time 1.132e-06/0.6055, allocations: 0 / 0.5821 GB, free: 3.891 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.326/0.9315, allocations: 74.17 MB / 0.6545 GB, free: 166.8 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.92/15.85, allocations: 7.469 kB / 0.6545 GB, free: 166.8 MB / 0.4981 GB " [Timeout remaining time 644] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Transformer_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 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: 18.397795772005338] 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'] 16.031620552006643 16.049919737 15.880139843 Calling exit ...