Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001889/0.001889, allocations: 116.6 kB / 17.74 MB, free: 5.355 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002819/0.002819, allocations: 182.9 kB / 20.68 MB, free: 2.426 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 222.9 MB / 246.4 MB, free: 4.207 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 51.92 kB / 357.5 MB, free: 8.945 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1074, allocations: 49.44 MB / 406.9 MB, free: 7.461 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.007374/0.1148, allocations: 5.903 MB / 412.8 MB, free: 1.527 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004216/0.1191, allocations: 2.064 MB / 414.9 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00114/0.1203, allocations: 39.81 kB / 414.9 MB, free: 15.42 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001398/0.1217, allocations: 393.4 kB / 415.3 MB, free: 15.03 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001988/0.1238, allocations: 0.5437 MB / 415.9 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004603/0.1242, allocations: 219.8 kB / 416.1 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002865/0.1271, allocations: 2.217 MB / 418.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00262/0.1298, allocations: 2.216 MB / 420.5 MB, free: 9.762 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00236/0.1321, allocations: 1.044 MB / 421.6 MB, free: 8.727 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001992/0.1341, allocations: 1.214 MB / 422.8 MB, free: 7.508 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004919/0.1346, allocations: 292 kB / 423.1 MB, free: 7.223 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007666/0.1354, allocations: 375.8 kB / 423.4 MB, free: 6.855 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000676/0.1361, allocations: 0.7091 MB / 424.1 MB, free: 6.145 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001537/0.1376, allocations: 1.225 MB / 425.4 MB, free: 4.914 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004632/0.1423, allocations: 3.796 MB / 429.2 MB, free: 1.105 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.1423, allocations: 0 / 429.2 MB, free: 1.105 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.1423, allocations: 0 / 429.2 MB, free: 1.105 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001068/0.1425, allocations: 0 / 429.2 MB, free: 1.105 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.1957/0.3381, allocations: 2.424 MB / 431.6 MB, free: 21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.3382, allocations: 11.66 kB / 431.6 MB, free: 21 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002821/0.3385, allocations: 268.3 kB / 431.9 MB, free: 20.95 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006271/0.3391, allocations: 266.4 kB / 432.1 MB, free: 20.83 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001792/0.3409, allocations: 1.354 MB / 433.5 MB, free: 20.53 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.122e-05/0.341, allocations: 133.1 kB / 433.6 MB, free: 20.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002089/0.3412, allocations: 173.1 kB / 433.8 MB, free: 20.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003992/0.3452, allocations: 2.55 MB / 436.3 MB, free: 20.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.794e-05/0.3453, allocations: 3.938 kB / 436.3 MB, free: 20.4 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001664/0.3455, allocations: 71.55 kB / 436.4 MB, free: 20.4 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001133/0.3456, allocations: 98.94 kB / 436.5 MB, free: 20.4 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003409/0.349, allocations: 2.109 MB / 438.6 MB, free: 20.38 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01132/0.3603, allocations: 7.387 MB / 446 MB, free: 17.12 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001292/0.3617, allocations: 1.262 MB / 447.2 MB, free: 16.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006896/0.3624, allocations: 479.1 kB / 447.7 MB, free: 16.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001955/0.3626, allocations: 111.6 kB / 447.8 MB, free: 15.92 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.283e-05/0.3626, allocations: 39.34 kB / 447.9 MB, free: 15.88 MB / 350.1 MB Notification: Performance of pre-optimization done (n=52): time 2.875e-06/0.3626, allocations: 0 / 447.9 MB, free: 15.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=53): time 0.003772/0.3664, allocations: 2.303 MB / 450.2 MB, free: 14.58 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.489e-05/0.3665, allocations: 83.05 kB / 450.2 MB, free: 14.49 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001799/0.3683, allocations: 1.502 MB / 451.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.202e-05/0.3683, allocations: 37.36 kB / 451.8 MB, free: 13.63 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004624/0.3688, allocations: 1.001 MB / 452.8 MB, free: 12.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000107/0.3689, allocations: 207.5 kB / 453 MB, free: 12.58 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002875/0.3692, allocations: 246.5 kB / 453.2 MB, free: 12.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.52e-05/0.3693, allocations: 352 kB / 453.6 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006193/0.3699, allocations: 456.8 kB / 454 MB, free: 11.86 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008436/0.3708, allocations: 1.093 MB / 455.1 MB, free: 10.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001439/0.3722, allocations: 1.617 MB / 456.7 MB, free: 9.301 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.389e-05/0.3722, allocations: 10.23 kB / 456.7 MB, free: 9.297 MB / 350.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002427/0.3747, allocations: 1.697 MB / 458.4 MB, free: 8.398 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.826e-05/0.3747, allocations: 14.59 kB / 458.4 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.58e-05/0.3747, allocations: 23.06 kB / 458.5 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006616/0.3754, allocations: 185.7 kB / 458.6 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000765/0.3762, allocations: 284.4 kB / 458.9 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00169/0.3779, allocations: 2.365 MB / 461.3 MB, free: 6.156 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001033/0.3789, allocations: 91.38 kB / 461.4 MB, free: 6.109 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.06e-05/0.379, allocations: 67.31 kB / 461.4 MB, free: 6.098 MB / 350.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.0008604/0.3799, allocations: 0.7021 MB / 462.1 MB, free: 5.613 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002102/0.3801, allocations: 140.4 kB / 462.3 MB, free: 5.539 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001245/0.3813, allocations: 0.843 MB / 463.1 MB, free: 5.051 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.3814, allocations: 5.438 kB / 463.1 MB, free: 5.051 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.3814, allocations: 2.406 kB / 463.1 MB, free: 5.051 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.3814, allocations: 0 / 463.1 MB, free: 5.051 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003174/0.3846, allocations: 2.494 MB / 465.6 MB, free: 3.148 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.3846, allocations: 4 kB / 465.6 MB, free: 3.145 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003191/0.3849, allocations: 99.81 kB / 465.7 MB, free: 3.047 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005471/0.3855, allocations: 153.2 kB / 465.9 MB, free: 2.895 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.097e-05/0.3855, allocations: 20 kB / 465.9 MB, free: 2.875 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001486/0.387, allocations: 2.3 MB / 468.2 MB, free: 452 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.387, allocations: 7.781 kB / 468.2 MB, free: 448 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001871/0.3889, allocations: 1.316 MB / 469.5 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005281/0.3894, allocations: 292.7 kB / 469.8 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001506/0.3896, allocations: 12 kB / 469.8 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005874/0.3902, allocations: 47.97 kB / 469.9 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/0.3903, allocations: 55.86 kB / 469.9 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-05/0.3904, allocations: 16 kB / 469.9 MB, free: 14.63 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001531/0.3919, allocations: 1.04 MB / 471 MB, free: 13.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3919, allocations: 0 / 471 MB, free: 13.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001452/0.3934, allocations: 351.9 kB / 471.3 MB, free: 13.25 MB / 366.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.002744/0.3961, allocations: 1.962 MB / 473.3 MB, free: 11.24 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002333/0.3985, allocations: 1.16 MB / 474.4 MB, free: 10.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.3985, allocations: 0 / 474.4 MB, free: 10.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008787/0.3994, allocations: 0.5094 MB / 475 MB, free: 9.551 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001774/0.4012, allocations: 378.7 kB / 475.3 MB, free: 9.195 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02228/0.4235, allocations: 13.91 MB / 489.2 MB, free: 10.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001494/0.425, allocations: 1.699 MB / 490.9 MB, free: 8.695 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009026/0.4259, allocations: 323.7 kB / 491.2 MB, free: 8.383 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000819/0.4268, allocations: 0.6125 MB / 491.9 MB, free: 7.773 MB / 382.1 MB Notification: Performance of SimCode: time 1.413e-06/0.4268, allocations: 0 / 491.9 MB, free: 7.773 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08091/0.5077, allocations: 33.77 MB / 0.5133 GB, free: 6.367 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.36/12.87, allocations: 12.38 kB / 0.5133 GB, free: 6.359 MB / 414.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_AsymmetricalLoad.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.267704169964418] Failed to read output from testmodel.py, exit status != 0: ['time', 'transformer.l2sigma.inductor[1].i'] 12.966615983983502 12.981662581 12.836641541 Calling exit ...