Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.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.001291/0.001291, allocations: 105.1 kB / 21.23 MB, free: 0.6562 MB / 14.72 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.001458/0.001458, allocations: 213.9 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.404/1.404, allocations: 230.6 MB / 258.3 MB, free: 8.074 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.AsymmetricalLoad,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002694/0.002694, allocations: 69 kB / 378.5 MB, free: 3.184 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2512/0.2539, allocations: 53.37 MB / 431.9 MB, free: 6.91 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.007622/0.2615, allocations: 5.978 MB / 437.9 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004221/0.2657, allocations: 2.146 MB / 440 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007422/0.2665, allocations: 51.62 kB / 440.1 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001039/0.2675, allocations: 405.4 kB / 440.5 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001517/0.269, allocations: 0.5827 MB / 441.1 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004527/0.2695, allocations: 235.7 kB / 441.3 MB, free: 13.49 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002407/0.2719, allocations: 2.221 MB / 443.5 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001526/0.2734, allocations: 1.162 MB / 444.7 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002122/0.2756, allocations: 1.09 MB / 445.8 MB, free: 8.945 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001809/0.2774, allocations: 1.242 MB / 447 MB, free: 7.699 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003986/0.2778, allocations: 284 kB / 447.3 MB, free: 7.422 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007186/0.2785, allocations: 379.8 kB / 447.7 MB, free: 7.051 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006453/0.2791, allocations: 0.7168 MB / 448.4 MB, free: 6.332 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001364/0.2805, allocations: 1.225 MB / 449.6 MB, free: 5.102 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003955/0.2844, allocations: 3.792 MB / 453.4 MB, free: 1.297 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.2845, allocations: 8 kB / 453.4 MB, free: 1.289 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.2845, allocations: 0 / 453.4 MB, free: 1.289 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.484e-05/0.2845, allocations: 0 / 453.4 MB, free: 1.289 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 474 * Number of variables: 474 Notification: Performance of Generate backend data structure: time 0.004708/0.2892, allocations: 2.365 MB / 455.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.2893, allocations: 12.03 kB / 455.8 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003522/0.2896, allocations: 274.2 kB / 456.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009354/0.2906, allocations: 287.5 kB / 456.3 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002361/0.2929, allocations: 1.311 MB / 457.6 MB, free: 12.97 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001077/0.293, allocations: 135.5 kB / 457.8 MB, free: 12.84 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002826/0.2933, allocations: 172 kB / 457.9 MB, free: 12.67 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004249/0.2976, allocations: 2.559 MB / 460.5 MB, free: 10.09 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.002e-05/0.2976, allocations: 0 / 460.5 MB, free: 10.09 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001681/0.2978, allocations: 75.94 kB / 460.6 MB, free: 10.02 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001095/0.2979, allocations: 95.58 kB / 460.7 MB, free: 9.922 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003648/0.3015, allocations: 2.106 MB / 462.8 MB, free: 7.812 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01158/0.3131, allocations: 7.244 MB / 470 MB, free: 328 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001313/0.3144, allocations: 0.7036 MB / 470.7 MB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007061/0.3151, allocations: 442.5 kB / 471.2 MB, free: 15.17 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001831/0.3153, allocations: 44.41 kB / 471.2 MB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.426e-05/0.3153, allocations: 39 kB / 471.2 MB, free: 15.08 MB / 382.1 MB Notification: Performance of pre-optimization done (n=52): time 2.925e-06/0.3153, allocations: 4 kB / 471.2 MB, free: 15.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=53): time 0.004081/0.3194, allocations: 2.137 MB / 473.4 MB, free: 12.9 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.991e-05/0.3195, allocations: 81.55 kB / 473.5 MB, free: 12.8 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002099/0.3216, allocations: 1.524 MB / 475 MB, free: 11.27 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.177e-05/0.3216, allocations: 37.81 kB / 475 MB, free: 11.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007693/0.3224, allocations: 0.9978 MB / 476 MB, free: 10.22 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001699/0.3226, allocations: 210.3 kB / 476.2 MB, free: 10.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003322/0.3229, allocations: 242.7 kB / 476.5 MB, free: 9.773 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001725/0.3231, allocations: 357.9 kB / 476.8 MB, free: 9.418 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007168/0.3238, allocations: 458.3 kB / 477.3 MB, free: 8.969 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001217/0.325, allocations: 1.102 MB / 478.4 MB, free: 7.555 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001995/0.327, allocations: 1.619 MB / 480 MB, free: 5.625 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.35e-05/0.327, allocations: 8 kB / 480 MB, free: 5.617 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002812/0.3298, allocations: 1.692 MB / 481.7 MB, free: 3.914 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.128e-05/0.3299, allocations: 12 kB / 481.7 MB, free: 3.902 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.195e-05/0.3299, allocations: 24 kB / 481.7 MB, free: 3.879 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007352/0.3306, allocations: 176.7 kB / 481.9 MB, free: 3.703 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008677/0.3315, allocations: 279.6 kB / 482.2 MB, free: 3.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002617/0.3341, allocations: 2.261 MB / 484.4 MB, free: 1.051 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009641/0.3351, allocations: 87.81 kB / 484.5 MB, free: 0.9648 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.056e-05/0.3352, allocations: 64 kB / 484.6 MB, free: 0.9023 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (146): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001075/0.3363, allocations: 0.7079 MB / 485.3 MB, free: 188 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002451/0.3365, allocations: 135.2 kB / 485.4 MB, free: 52 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001534/0.338, allocations: 0.8412 MB / 486.3 MB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/0.338, allocations: 8 kB / 486.3 MB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.338, allocations: 0 / 486.3 MB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.024e-06/0.338, allocations: 3.984 kB / 486.3 MB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003868/0.3419, allocations: 2.471 MB / 488.7 MB, free: 12.63 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.064e-06/0.3419, allocations: 4.062 kB / 488.7 MB, free: 12.62 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003807/0.3423, allocations: 99.88 kB / 488.8 MB, free: 12.53 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006079/0.3429, allocations: 153.2 kB / 489 MB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.773e-05/0.3429, allocations: 19.98 kB / 489 MB, free: 12.36 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002349/0.3453, allocations: 2.207 MB / 491.2 MB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.3453, allocations: 4 kB / 491.2 MB, free: 10.03 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002042/0.3473, allocations: 1.317 MB / 492.5 MB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005231/0.3479, allocations: 223.2 kB / 492.8 MB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001326/0.348, allocations: 12 kB / 492.8 MB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005601/0.3486, allocations: 43.97 kB / 492.8 MB, free: 8.387 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001704/0.3487, allocations: 59.78 kB / 492.9 MB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.07e-05/0.3488, allocations: 23.94 kB / 492.9 MB, free: 8.305 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001588/0.3504, allocations: 1.04 MB / 493.9 MB, free: 7.262 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3504, allocations: 0 / 493.9 MB, free: 7.262 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001357/0.3517, allocations: 351.9 kB / 494.3 MB, free: 6.918 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 1 (transformer.l2sigma.inductor[1].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00274/0.3545, allocations: 1.954 MB / 496.2 MB, free: 4.91 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002014/0.3565, allocations: 1.11 MB / 497.3 MB, free: 3.793 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.3565, allocations: 0 / 497.3 MB, free: 3.793 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008265/0.3573, allocations: 0.4992 MB / 497.8 MB, free: 3.281 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001505/0.3588, allocations: 372 kB / 498.2 MB, free: 2.922 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02055/0.3794, allocations: 13.97 MB / 0.5002 GB, free: 4.07 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001462/0.3808, allocations: 1.706 MB / 0.5018 GB, free: 2.328 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0008919/0.3817, allocations: 323.3 kB / 0.5021 GB, free: 2.008 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000796/0.3825, allocations: 0.6125 MB / 0.5027 GB, free: 1.395 MB / 414.1 MB Notification: Performance of SimCode: time 1.042e-06/0.3825, allocations: 4 kB / 0.5027 GB, free: 1.391 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2789/0.6614, allocations: 35 MB / 0.5369 GB, free: 97.92 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.38/13.04, allocations: 4 kB / 0.5369 GB, free: 97.92 MB / 446.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.331505862995982] Failed to read output from testmodel.py, exit status != 0: ['time', 'transformer.l2sigma.inductor[1].i'] 13.13881848193705 13.150953252 12.86398643 Calling exit ...