Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYY.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.001707/0.001707, 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.002093/0.002093, 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.444/1.444, allocations: 230.6 MB / 258.3 MB, free: 8.051 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.Polyphase.Examples.TransformerYY,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Polyphase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYY,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Polyphase_Examples_TransformerYY",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.002673/0.002673, allocations: 64.75 kB / 378.5 MB, free: 3.164 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2806/0.2832, allocations: 53.37 MB / 431.9 MB, free: 6.887 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.005708/0.289, allocations: 3.82 MB / 435.7 MB, free: 3.055 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002421/0.2914, allocations: 1.036 MB / 436.8 MB, free: 2.016 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003342/0.2917, allocations: 27.81 kB / 436.8 MB, free: 1.988 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003871/0.2921, allocations: 154.8 kB / 436.9 MB, free: 1.836 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001011/0.2931, allocations: 298.4 kB / 437.2 MB, free: 1.543 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003445/0.2935, allocations: 135.8 kB / 437.4 MB, free: 1.41 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00168/0.2951, allocations: 1.405 MB / 438.8 MB, free: 0 / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009267/0.2961, allocations: 0.6353 MB / 439.4 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001019/0.2971, allocations: 0.6464 MB / 440.1 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001238/0.2983, allocations: 0.7744 MB / 440.8 MB, free: 13.9 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000253/0.2986, allocations: 156 kB / 441 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003218/0.2989, allocations: 164 kB / 441.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004643/0.2994, allocations: 466.7 kB / 441.6 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008781/0.3002, allocations: 0.7349 MB / 442.3 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002311/0.3025, allocations: 2.052 MB / 444.4 MB, free: 10.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.3025, allocations: 0 / 444.4 MB, free: 10.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.083e-06/0.3026, allocations: 0 / 444.4 MB, free: 10.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.162e-05/0.3026, allocations: 0 / 444.4 MB, free: 10.34 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.003278/0.3059, allocations: 1.63 MB / 446 MB, free: 8.668 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.3059, allocations: 8.031 kB / 446 MB, free: 8.66 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002346/0.3061, allocations: 177.2 kB / 446.2 MB, free: 8.477 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005183/0.3067, allocations: 176 kB / 446.4 MB, free: 8.305 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001568/0.3082, allocations: 0.8551 MB / 447.2 MB, free: 7.422 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.686e-05/0.3083, allocations: 86.16 kB / 447.3 MB, free: 7.336 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001823/0.3085, allocations: 108 kB / 447.4 MB, free: 7.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002661/0.3112, allocations: 1.544 MB / 449 MB, free: 5.641 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.15e-05/0.3112, allocations: 4 kB / 449 MB, free: 5.637 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001109/0.3113, allocations: 44 kB / 449 MB, free: 5.594 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.435e-05/0.3113, allocations: 31.94 kB / 449 MB, free: 5.562 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002322/0.3137, allocations: 1.312 MB / 450.3 MB, free: 4.242 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007108/0.3208, allocations: 4.117 MB / 454.5 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009731/0.3217, allocations: 0.6039 MB / 455.1 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007139/0.3224, allocations: 434.4 kB / 455.5 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.213e-05/0.3225, allocations: 8.438 kB / 455.5 MB, free: 14.94 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.407e-05/0.3225, allocations: 39 kB / 455.5 MB, free: 14.89 MB / 366.1 MB Notification: Performance of pre-optimization done (n=49): time 2.275e-06/0.3225, allocations: 4 kB / 455.5 MB, free: 14.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=51): time 0.003541/0.3261, allocations: 1.877 MB / 457.4 MB, free: 12.98 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.215e-05/0.3261, allocations: 59.84 kB / 457.5 MB, free: 12.9 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001179/0.3273, allocations: 0.8321 MB / 458.3 MB, free: 12.06 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.725e-05/0.3273, allocations: 33.7 kB / 458.3 MB, free: 12.02 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004735/0.3278, allocations: 0.5622 MB / 458.9 MB, free: 11.46 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001633/0.328, allocations: 178.5 kB / 459.1 MB, free: 11.28 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001735/0.3281, allocations: 106.3 kB / 459.2 MB, free: 11.17 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000225/0.3284, allocations: 386.8 kB / 459.6 MB, free: 10.79 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005371/0.3289, allocations: 301.1 kB / 459.9 MB, free: 10.49 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000597/0.3295, allocations: 416.1 kB / 460.3 MB, free: 10.05 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001084/0.3306, allocations: 0.698 MB / 461 MB, free: 9.324 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.3306, allocations: 4 kB / 461 MB, free: 9.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001597/0.3322, allocations: 0.9191 MB / 461.9 MB, free: 8.391 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.3322, allocations: 4 kB / 461.9 MB, free: 8.387 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.3322, allocations: 4.312 kB / 461.9 MB, free: 8.383 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00031/0.3325, allocations: 108.8 kB / 462 MB, free: 8.273 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005215/0.3331, allocations: 123.8 kB / 462.1 MB, free: 8.152 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002592/0.3356, allocations: 2.265 MB / 464.4 MB, free: 5.777 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000429/0.3361, allocations: 28.05 kB / 464.4 MB, free: 5.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.439e-05/0.3361, allocations: 23.98 kB / 464.4 MB, free: 5.727 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (60): * Single equations (assignments): 59 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007527/0.3369, allocations: 457.4 kB / 464.9 MB, free: 5.27 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001347/0.337, allocations: 79.53 kB / 465 MB, free: 5.191 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001608/0.3372, allocations: 87.08 kB / 465 MB, free: 5.102 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.876e-06/0.3372, allocations: 11.98 kB / 465.1 MB, free: 5.09 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.108e-05/0.3372, allocations: 3.938 kB / 465.1 MB, free: 5.086 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.3372, allocations: 0 / 465.1 MB, free: 5.086 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00353/0.3407, allocations: 1.989 MB / 467 MB, free: 3.027 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.3407, allocations: 0 / 467 MB, free: 3.027 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003771/0.3411, allocations: 87.89 kB / 467.1 MB, free: 2.941 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000253/0.3414, allocations: 104.9 kB / 467.2 MB, free: 2.836 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.659e-05/0.3414, allocations: 15.98 kB / 467.3 MB, free: 2.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002465/0.3439, allocations: 2.218 MB / 469.5 MB, free: 496 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.3439, allocations: 4.031 kB / 469.5 MB, free: 492 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002028/0.3459, allocations: 1.208 MB / 470.7 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002284/0.3461, allocations: 87.5 kB / 470.8 MB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.821e-05/0.3462, allocations: 19.98 kB / 470.8 MB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003974/0.3466, allocations: 43.95 kB / 470.8 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/0.3467, allocations: 44.64 kB / 470.9 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.493e-05/0.3468, allocations: 20 kB / 470.9 MB, free: 15.02 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008078/0.3476, allocations: 0.5888 MB / 471.5 MB, free: 14.44 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3476, allocations: 3.938 kB / 471.5 MB, free: 14.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008045/0.3484, allocations: 211.9 kB / 471.7 MB, free: 14.23 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (transformerL.inductor[2].i,transformerL.inductor[3].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 (43): * Single equations (assignments): 42 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002185/0.3506, allocations: 1.768 MB / 473.5 MB, free: 12.41 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001565/0.3521, allocations: 0.7931 MB / 474.3 MB, free: 11.61 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.141e-06/0.3521, allocations: 0 / 474.3 MB, free: 11.61 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008201/0.353, allocations: 484.8 kB / 474.7 MB, free: 11.12 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009509/0.3539, allocations: 179.2 kB / 474.9 MB, free: 10.95 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01362/0.3675, allocations: 8.649 MB / 483.6 MB, free: 2.098 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001168/0.3687, allocations: 1.344 MB / 484.9 MB, free: 0.7266 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005013/0.3692, allocations: 181.8 kB / 485.1 MB, free: 0.5469 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005161/0.3697, allocations: 387.3 kB / 485.5 MB, free: 172 kB / 382.1 MB Notification: Performance of SimCode: time 1.092e-06/0.3697, allocations: 0 / 485.5 MB, free: 172 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06364/0.4334, allocations: 20.13 MB / 0.4937 GB, free: 12.28 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.58, allocations: 4.062 kB / 0.4937 GB, free: 12.28 MB / 414.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Polyphase_Examples_TransformerYY_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Polyphase_Examples_TransformerYY.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.056195090059191] Failed to read output from testmodel.py, exit status != 0: ['time', 'transformerL.inductor[2].i', 'transformerL.inductor[3].i'] 11.681360517628491 11.705266213 11.397856366 Calling exit ...