Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.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.001195/0.001195, allocations: 119.7 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.001349/0.001349, 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.351/1.351, allocations: 207.6 MB / 232.5 MB, free: 3.945 MB / 174.1 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.Transformers.AIMC_Transformer,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_AIMC_Transformer",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_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.001768/0.001768, allocations: 56.41 kB / 343 MB, free: 9.957 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09565/0.09742, allocations: 49.12 MB / 392.2 MB, free: 8.668 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer): time 0.01551/0.1129, allocations: 12.89 MB / 405.1 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008606/0.1215, allocations: 4.257 MB / 409.3 MB, free: 7.445 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001891/0.1234, allocations: 87.38 kB / 409.4 MB, free: 7.359 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002666/0.1261, allocations: 1.029 MB / 410.4 MB, free: 6.324 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00347/0.1296, allocations: 1.227 MB / 411.7 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001236/0.1308, allocations: 0.5228 MB / 412.2 MB, free: 4.566 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006281/0.1371, allocations: 4.676 MB / 416.8 MB, free: 15.87 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004014/0.1411, allocations: 2.627 MB / 419.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004169/0.1453, allocations: 2.177 MB / 421.7 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004276/0.1495, allocations: 2.615 MB / 424.3 MB, free: 8.367 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0012/0.1507, allocations: 0.5547 MB / 424.8 MB, free: 7.812 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001884/0.1526, allocations: 0.6483 MB / 425.5 MB, free: 7.164 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001802/0.1544, allocations: 1.535 MB / 427 MB, free: 5.625 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003742/0.1582, allocations: 2.481 MB / 429.5 MB, free: 3.133 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009431/0.1676, allocations: 7.447 MB / 436.9 MB, free: 11.66 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.1676, allocations: 0 / 436.9 MB, free: 11.66 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1676, allocations: 4 kB / 436.9 MB, free: 11.66 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002408/0.1679, allocations: 0 / 436.9 MB, free: 11.66 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.01184/0.1797, allocations: 4.796 MB / 441.7 MB, free: 6.789 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/0.1797, allocations: 8.031 kB / 441.7 MB, free: 6.781 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001048/0.1798, allocations: 99.19 kB / 441.8 MB, free: 6.684 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007381/0.1806, allocations: 0.4981 MB / 442.3 MB, free: 6.176 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001368/0.182, allocations: 0.5175 MB / 442.9 MB, free: 5.656 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004248/0.1862, allocations: 2.417 MB / 445.3 MB, free: 3.191 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002156/0.1864, allocations: 267 kB / 445.5 MB, free: 2.93 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005547/0.187, allocations: 351.9 kB / 445.9 MB, free: 2.586 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008728/0.1957, allocations: 5.028 MB / 450.9 MB, free: 13.49 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.488e-05/0.1958, allocations: 11.95 kB / 450.9 MB, free: 13.48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003409/0.1961, allocations: 144 kB / 451.1 MB, free: 13.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002011/0.1963, allocations: 183 kB / 451.2 MB, free: 13.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007782/0.2041, allocations: 4.291 MB / 455.5 MB, free: 8.863 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1916/0.3957, allocations: 14.76 MB / 470.3 MB, free: 53.78 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003853/0.3995, allocations: 4.061 MB / 474.3 MB, free: 51.87 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003023/0.4026, allocations: 1.878 MB / 476.2 MB, free: 51.26 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000266/0.4028, allocations: 137.7 kB / 476.4 MB, free: 51.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.675e-05/0.4029, allocations: 58.25 kB / 476.4 MB, free: 51.11 MB / 382.1 MB Notification: Performance of pre-optimization done (n=198): time 3.757e-06/0.4029, allocations: 0.875 kB / 476.4 MB, free: 51.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=218): time 0.01777/0.4206, allocations: 10.05 MB / 486.5 MB, free: 47.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.652e-05/0.4207, allocations: 78.72 kB / 486.5 MB, free: 47.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003066/0.4237, allocations: 2.515 MB / 489.1 MB, free: 45.84 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001578/0.4239, allocations: 62.61 kB / 489.1 MB, free: 45.78 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007901/0.4247, allocations: 1.65 MB / 490.8 MB, free: 44.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004401/0.4251, allocations: 0.7699 MB / 491.5 MB, free: 43.95 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005684/0.4257, allocations: 421.3 kB / 492 MB, free: 43.71 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.47e-05/0.4258, allocations: 301.1 kB / 492.2 MB, free: 43.42 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001622/0.4274, allocations: 1.304 MB / 493.5 MB, free: 42.74 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001802/0.4292, allocations: 1.775 MB / 495.3 MB, free: 41.5 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003367/0.4325, allocations: 3.224 MB / 498.5 MB, free: 39.48 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.556e-06/0.4326, allocations: 7.594 kB / 498.6 MB, free: 39.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.005469/0.438, allocations: 4.07 MB / 0.4908 GB, free: 35.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/0.4381, allocations: 8 kB / 0.4909 GB, free: 35.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.071e-05/0.4381, allocations: 16 kB / 0.4909 GB, free: 35.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002373/0.4404, allocations: 0.8759 MB / 0.4917 GB, free: 34.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001868/0.4423, allocations: 0.5305 MB / 0.4922 GB, free: 34.06 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007328/0.4496, allocations: 9.479 MB / 0.5015 GB, free: 24.17 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002108/0.4517, allocations: 115.9 kB / 0.5016 GB, free: 24.06 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002235/0.452, allocations: 84 kB / 0.5017 GB, free: 23.98 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.001808/0.4538, allocations: 1.222 MB / 0.5029 GB, free: 22.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000671/0.4545, allocations: 290.2 kB / 0.5032 GB, free: 22.47 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00529/0.4597, allocations: 3.695 MB / 0.5068 GB, free: 18.74 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.305e-05/0.4598, allocations: 24 kB / 0.5068 GB, free: 18.72 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/0.4598, allocations: 8 kB / 0.5068 GB, free: 18.71 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.943e-05/0.4598, allocations: 15.89 kB / 0.5068 GB, free: 18.7 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01078/0.4706, allocations: 8.01 MB / 0.5146 GB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.277e-06/0.4706, allocations: 0 / 0.5146 GB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001473/0.472, allocations: 384.4 kB / 0.515 GB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00265/0.4747, allocations: 0.9359 MB / 0.5159 GB, free: 9.297 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001518/0.4748, allocations: 51.97 kB / 0.516 GB, free: 9.246 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009191/0.484, allocations: 11.07 MB / 0.5268 GB, free: 13.63 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.484, allocations: 4.062 kB / 0.5268 GB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009061/0.4931, allocations: 5.514 MB / 0.5322 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001604/0.4947, allocations: 0.6475 MB / 0.5328 GB, free: 7.379 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003869/0.4951, allocations: 51.98 kB / 0.5328 GB, free: 7.328 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00135/0.4964, allocations: 119.9 kB / 0.533 GB, free: 7.211 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004583/0.4969, allocations: 185.8 kB / 0.5331 GB, free: 7.027 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001402/0.497, allocations: 59.98 kB / 0.5332 GB, free: 6.969 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002742/0.4998, allocations: 1.731 MB / 0.5349 GB, free: 5.227 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4998, allocations: 2.953 kB / 0.5349 GB, free: 5.227 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002561/0.5023, allocations: 0.7992 MB / 0.5357 GB, free: 4.43 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.009482/0.5118, allocations: 6.194 MB / 0.5417 GB, free: 14.17 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006953/0.5188, allocations: 3.775 MB / 0.5454 GB, free: 10.32 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.726e-06/0.5188, allocations: 0 / 0.5454 GB, free: 10.32 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00428/0.5231, allocations: 2.382 MB / 0.5477 GB, free: 7.863 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003827/0.5269, allocations: 0.7867 MB / 0.5485 GB, free: 7.082 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05294/0.5798, allocations: 29.58 MB / 0.5774 GB, free: 8.766 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002937/0.5828, allocations: 2.781 MB / 0.5801 GB, free: 5.957 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001983/0.5848, allocations: 0.6866 MB / 0.5808 GB, free: 5.266 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001967/0.5867, allocations: 1.405 MB / 0.5821 GB, free: 3.859 MB / 446.1 MB Notification: Performance of SimCode: time 9.61e-07/0.5867, allocations: 0 / 0.5821 GB, free: 3.859 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3518/0.9385, allocations: 74.13 MB / 0.6545 GB, free: 166.9 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.98/15.92, allocations: 12.16 kB / 0.6545 GB, free: 166.9 MB / 0.4981 GB " [Timeout remaining time 644] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_AIMC_Transformer_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_AIMC_Transformer.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.388135176035576] Failed to read output from testmodel.py, exit status != 0: ['time', '// aimc.i_0_s', 'aimc.idq_rr[1]', 'aimc.idq_rr[2]', 'aimc.idq_sr[1]', 'aimc.idq_sr[2]', 'smee.is[1]', 'smee.is[2]', 'loadInertia.phi', 'loadInertia.w', 'transformer.l2sigma.inductor[2].i', 'transformer.l2sigma.inductor[3].i'] 16.10210315999575 16.112001532 15.942145747 Calling exit ...