Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009753/0.0009753, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00128/0.00128, allocations: 156.9 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8766/0.8766, allocations: 177 MB / 204.1 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_IMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_IMC_Transformer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 324.6 MB, free: 15.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.188e-05/1.316e-05, allocations: 2.281 kB / 324.6 MB, free: 15.84 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.008567/0.00858, allocations: 11.38 MB / 335.9 MB, free: 4.41 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00485/0.01343, allocations: 4.062 MB / 340 MB, free: 336 kB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007687/0.0142, allocations: 107.3 kB / 340.1 MB, free: 228 kB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001349/0.01555, allocations: 0.974 MB / 341.1 MB, free: 15.24 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00164/0.01719, allocations: 1.308 MB / 342.4 MB, free: 13.93 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000605/0.01779, allocations: 0.5342 MB / 342.9 MB, free: 13.39 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003426/0.02122, allocations: 4.845 MB / 347.8 MB, free: 8.52 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001738/0.02296, allocations: 2.011 MB / 349.8 MB, free: 6.449 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003477/0.02643, allocations: 3.196 MB / 353 MB, free: 3.262 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001967/0.0284, allocations: 2.303 MB / 355.3 MB, free: 0.9531 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004483/0.02885, allocations: 0.5547 MB / 355.8 MB, free: 408 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006685/0.02952, allocations: 0.6521 MB / 356.5 MB, free: 15.75 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001056/0.03057, allocations: 1.585 MB / 358.1 MB, free: 14.16 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001153/0.03173, allocations: 1.742 MB / 359.8 MB, free: 12.41 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004611/0.03634, allocations: 7.572 MB / 367.4 MB, free: 4.816 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.03634, allocations: 0 / 367.4 MB, free: 4.816 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.03634, allocations: 0 / 367.4 MB, free: 4.816 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.83e-05/0.03642, allocations: 0 / 367.4 MB, free: 4.816 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 940 * Number of variables: 940 Notification: Performance of Generate backend data structure: time 0.00565/0.04207, allocations: 4.724 MB / 372.1 MB, free: 36 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.04212, allocations: 15.98 kB / 372.1 MB, free: 20 kB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004552/0.04257, allocations: 0.4983 MB / 372.6 MB, free: 15.51 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009468/0.04352, allocations: 0.5526 MB / 373.2 MB, free: 14.96 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002931/0.04645, allocations: 2.544 MB / 375.7 MB, free: 12.34 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001401/0.04659, allocations: 263.4 kB / 376 MB, free: 12.08 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003662/0.04695, allocations: 356.3 kB / 376.3 MB, free: 11.73 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005546/0.0525, allocations: 5.319 MB / 381.6 MB, free: 6.289 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.262e-05/0.05255, allocations: 0 / 381.6 MB, free: 6.289 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002322/0.05279, allocations: 144 kB / 381.8 MB, free: 6.148 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001187/0.0529, allocations: 195.1 kB / 382 MB, free: 5.957 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004447/0.05735, allocations: 4.306 MB / 386.3 MB, free: 1.645 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01366/0.07102, allocations: 13.44 MB / 399.7 MB, free: 3.879 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00268/0.0737, allocations: 2.696 MB / 402.4 MB, free: 1.211 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001942/0.07564, allocations: 1.866 MB / 404.3 MB, free: 15.35 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001763/0.07581, allocations: 65.97 kB / 404.3 MB, free: 15.29 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.28e-05/0.07585, allocations: 56.5 kB / 404.4 MB, free: 15.22 MB / 378.7 MB Notification: Performance of pre-optimization done (n=198): time 3.476e-06/0.07585, allocations: 0 / 404.4 MB, free: 15.22 MB / 378.7 MB Notification: Performance of matching and sorting (n=218): time 0.01286/0.08871, allocations: 9.612 MB / 414 MB, free: 5.594 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.571e-05/0.08875, allocations: 81.33 kB / 414.1 MB, free: 5.504 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002703/0.09146, allocations: 2.545 MB / 416.6 MB, free: 2.938 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001052/0.09156, allocations: 65.7 kB / 416.7 MB, free: 2.867 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007996/0.09236, allocations: 1.662 MB / 418.4 MB, free: 1.188 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004634/0.09282, allocations: 0.7591 MB / 419.1 MB, free: 432 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004323/0.09326, allocations: 412.5 kB / 419.5 MB, free: 12 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.43e-05/0.09333, allocations: 305.1 kB / 419.8 MB, free: 15.71 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001333/0.09466, allocations: 1.301 MB / 421.1 MB, free: 14.41 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00152/0.09618, allocations: 1.77 MB / 422.9 MB, free: 12.45 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002922/0.09911, allocations: 3.227 MB / 426.1 MB, free: 9.035 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/0.09911, allocations: 4 kB / 426.1 MB, free: 9.031 MB / 394.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.00414/0.1033, allocations: 4.065 MB / 430.2 MB, free: 4.941 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.1033, allocations: 12.45 kB / 430.2 MB, free: 4.93 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/0.1033, allocations: 20 kB / 430.2 MB, free: 4.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001428/0.1047, allocations: 0.8826 MB / 431.1 MB, free: 4.016 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001063/0.1058, allocations: 0.5266 MB / 431.6 MB, free: 3.488 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006541/0.1123, allocations: 9.056 MB / 440.7 MB, free: 10.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009583/0.1133, allocations: 123.9 kB / 440.8 MB, free: 9.969 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001136/0.1134, allocations: 91.92 kB / 440.9 MB, free: 9.879 MB / 410.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.001387/0.1148, allocations: 1.219 MB / 442.1 MB, free: 8.648 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005035/0.1153, allocations: 290.2 kB / 442.4 MB, free: 8.363 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003796/0.1191, allocations: 3.691 MB / 446.1 MB, free: 4.641 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/0.1191, allocations: 28 kB / 446.1 MB, free: 4.613 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.1191, allocations: 4 kB / 446.1 MB, free: 4.609 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/0.1191, allocations: 15.89 kB / 446.1 MB, free: 4.594 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1437/0.2629, allocations: 7.542 MB / 453.7 MB, free: 111.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.646e-06/0.2629, allocations: 3.875 kB / 453.7 MB, free: 111.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008567/0.2637, allocations: 383.2 kB / 454.1 MB, free: 111.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001502/0.2652, allocations: 0.9278 MB / 455 MB, free: 111.4 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001173/0.2653, allocations: 57.17 kB / 455 MB, free: 111.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005392/0.2707, allocations: 10.59 MB / 465.6 MB, free: 104.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.2707, allocations: 3.75 kB / 465.6 MB, free: 104.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004449/0.2752, allocations: 5.509 MB / 471.1 MB, free: 100.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008573/0.276, allocations: 0.58 MB / 471.7 MB, free: 99.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002165/0.2763, allocations: 47.75 kB / 471.8 MB, free: 99.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006757/0.2769, allocations: 116.7 kB / 471.9 MB, free: 99.81 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002468/0.2772, allocations: 192.3 kB / 472.1 MB, free: 99.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.76e-05/0.2773, allocations: 63.61 kB / 472.1 MB, free: 99.66 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001472/0.2787, allocations: 1.734 MB / 473.9 MB, free: 98.14 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2787, allocations: 0 / 473.9 MB, free: 98.14 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001317/0.28, allocations: 0.8035 MB / 474.7 MB, free: 97.34 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 {(3,25,88.9%), (2,12,100.0%), (1,1,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.004537/0.2846, allocations: 6.184 MB / 480.9 MB, free: 91.27 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002957/0.2875, allocations: 3.612 MB / 484.5 MB, free: 87.63 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.2875, allocations: 4.125 kB / 484.5 MB, free: 87.63 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001707/0.2892, allocations: 2.311 MB / 486.8 MB, free: 85.29 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001624/0.2909, allocations: 0.7935 MB / 487.6 MB, free: 84.52 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02694/0.3178, allocations: 29.68 MB / 0.5051 GB, free: 54.16 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001307/0.3191, allocations: 2.249 MB / 0.5073 GB, free: 51.88 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001102/0.3202, allocations: 0.6868 MB / 0.508 GB, free: 51.19 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001034/0.3213, allocations: 1.422 MB / 0.5094 GB, free: 49.77 MB / 410.7 MB Notification: Performance of SimCode: time 6.51e-07/0.3213, allocations: 0 / 0.5094 GB, free: 49.77 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08123/0.4025, allocations: 78.32 MB / 0.5859 GB, free: 3.98 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.528/9.931, allocations: 7.938 kB / 0.5859 GB, free: 3.973 MB / 442.7 MB " [Timeout remaining time 650] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_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_trunk_Modelica_Electrical_Machines_Examples_Transformers_IMC_Transformer.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.808394714258611] 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]', 'aimc.is[1]', 'aimc.is[2]', 'loadInertia.phi', 'loadInertia.w', 'transformer.l2sigma.inductor[2].i', 'transformer.l2sigma.inductor[3].i'] 10.052531396970153 10.063288459 10.025252101 Calling exit ...