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.001918/0.001918, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002731/0.002731, allocations: 211.9 kB / 24.54 MB, free: 4.02 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.52/1.52, 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.001995/0.001995, allocations: 64.55 kB / 378.6 MB, free: 3.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3223, allocations: 53.36 MB / 431.9 MB, free: 6.918 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.005518/0.3278, allocations: 3.826 MB / 435.7 MB, free: 3.078 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002164/0.3299, allocations: 1.028 MB / 436.8 MB, free: 2.047 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002823/0.3302, allocations: 31.81 kB / 436.8 MB, free: 2.016 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003868/0.3306, allocations: 158.7 kB / 436.9 MB, free: 1.859 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008688/0.3315, allocations: 294.4 kB / 437.2 MB, free: 1.57 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003273/0.3318, allocations: 131.8 kB / 437.4 MB, free: 1.441 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001572/0.3334, allocations: 1.412 MB / 438.8 MB, free: 24 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009075/0.3343, allocations: 0.6392 MB / 439.4 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000917/0.3352, allocations: 0.6464 MB / 440.1 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001071/0.3363, allocations: 0.7705 MB / 440.8 MB, free: 13.92 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002036/0.3365, allocations: 156 kB / 441 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002783/0.3368, allocations: 164 kB / 441.1 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004334/0.3372, allocations: 462.6 kB / 441.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008067/0.338, allocations: 0.7311 MB / 442.3 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00218/0.3402, allocations: 2.056 MB / 444.4 MB, free: 10.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.3402, allocations: 4 kB / 444.4 MB, free: 10.36 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3402, allocations: 0 / 444.4 MB, free: 10.36 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.001e-05/0.3402, allocations: 0 / 444.4 MB, free: 10.36 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.003222/0.3434, allocations: 1.63 MB / 446 MB, free: 8.691 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.3435, allocations: 8.031 kB / 446 MB, free: 8.684 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002326/0.3437, allocations: 177.2 kB / 446.2 MB, free: 8.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005121/0.3442, allocations: 176 kB / 446.4 MB, free: 8.328 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001512/0.3457, allocations: 0.8474 MB / 447.2 MB, free: 7.453 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.483e-05/0.3458, allocations: 90.16 kB / 447.3 MB, free: 7.363 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001668/0.346, allocations: 108 kB / 447.4 MB, free: 7.258 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002512/0.3485, allocations: 1.544 MB / 449 MB, free: 5.668 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.133e-05/0.3485, allocations: 4 kB / 449 MB, free: 5.664 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001122/0.3486, allocations: 44 kB / 449 MB, free: 5.621 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.473e-05/0.3486, allocations: 28 kB / 449 MB, free: 5.594 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002215/0.3509, allocations: 1.316 MB / 450.3 MB, free: 4.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006875/0.3577, allocations: 4.121 MB / 454.5 MB, free: 16 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001051/0.3588, allocations: 0.604 MB / 455.1 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007352/0.3595, allocations: 438.5 kB / 455.5 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.328e-05/0.3596, allocations: 4.438 kB / 455.5 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.938e-05/0.3596, allocations: 39 kB / 455.5 MB, free: 14.91 MB / 366.1 MB Notification: Performance of pre-optimization done (n=49): time 4.949e-06/0.3596, allocations: 4 kB / 455.5 MB, free: 14.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=51): time 0.003541/0.3632, allocations: 1.885 MB / 457.4 MB, free: 12.99 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/0.3632, allocations: 59.78 kB / 457.5 MB, free: 12.92 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001121/0.3643, allocations: 0.8321 MB / 458.3 MB, free: 12.08 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.295e-05/0.3644, allocations: 37.7 kB / 458.4 MB, free: 12.04 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004532/0.3648, allocations: 0.5506 MB / 458.9 MB, free: 11.48 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001527/0.365, allocations: 178.4 kB / 459.1 MB, free: 11.3 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001706/0.3652, allocations: 106.3 kB / 459.2 MB, free: 11.2 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000221/0.3654, allocations: 382.8 kB / 459.6 MB, free: 10.81 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004999/0.3659, allocations: 309.1 kB / 459.9 MB, free: 10.51 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005835/0.3665, allocations: 404.2 kB / 460.3 MB, free: 10.09 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001087/0.3676, allocations: 0.7096 MB / 461 MB, free: 9.344 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3676, allocations: 0 / 461 MB, free: 9.344 MB / 366.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001517/0.3691, allocations: 0.9114 MB / 461.9 MB, free: 8.422 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.3691, allocations: 8 kB / 461.9 MB, free: 8.414 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.3691, allocations: 4 kB / 461.9 MB, free: 8.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003046/0.3694, allocations: 109 kB / 462 MB, free: 8.301 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005041/0.3699, allocations: 127.8 kB / 462.1 MB, free: 8.176 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002498/0.3724, allocations: 2.257 MB / 464.4 MB, free: 5.809 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003474/0.3728, allocations: 31.97 kB / 464.4 MB, free: 5.777 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.88e-05/0.3728, allocations: 20 kB / 464.4 MB, free: 5.758 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.0006683/0.3735, allocations: 457.5 kB / 464.9 MB, free: 5.301 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001163/0.3736, allocations: 75.53 kB / 464.9 MB, free: 5.227 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000149/0.3737, allocations: 99.06 kB / 465 MB, free: 5.125 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.3737, allocations: 4.188 kB / 465 MB, free: 5.121 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.245e-05/0.3737, allocations: 7.938 kB / 465.1 MB, free: 5.113 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.3738, allocations: 3.938 kB / 465.1 MB, free: 5.109 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003221/0.377, allocations: 1.985 MB / 467 MB, free: 3.055 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.377, allocations: 4 kB / 467 MB, free: 3.051 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003479/0.3773, allocations: 83.88 kB / 467.1 MB, free: 2.969 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002327/0.3776, allocations: 104.7 kB / 467.2 MB, free: 2.863 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.12e-05/0.3776, allocations: 12 kB / 467.2 MB, free: 2.852 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002308/0.3799, allocations: 2.23 MB / 469.5 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.3799, allocations: 0 / 469.5 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001763/0.3817, allocations: 1.2 MB / 470.7 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001827/0.3818, allocations: 91.55 kB / 470.8 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.46e-05/0.3819, allocations: 15.98 kB / 470.8 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003733/0.3823, allocations: 48.02 kB / 470.8 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.3824, allocations: 44.3 kB / 470.9 MB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.225e-05/0.3824, allocations: 19.94 kB / 470.9 MB, free: 15.05 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007894/0.3832, allocations: 0.5927 MB / 471.5 MB, free: 14.46 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3832, allocations: 4 kB / 471.5 MB, free: 14.46 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007354/0.384, allocations: 212 kB / 471.7 MB, free: 14.25 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.002151/0.3861, allocations: 1.753 MB / 473.4 MB, free: 12.45 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001404/0.3875, allocations: 0.7965 MB / 474.2 MB, free: 11.65 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.3875, allocations: 0 / 474.2 MB, free: 11.65 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007769/0.3883, allocations: 493.9 kB / 474.7 MB, free: 11.15 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008425/0.3892, allocations: 174.8 kB / 474.9 MB, free: 10.98 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01289/0.402, allocations: 8.649 MB / 483.5 MB, free: 2.129 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001343/0.4034, allocations: 1.348 MB / 484.9 MB, free: 0.7539 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004812/0.4039, allocations: 185.8 kB / 485.1 MB, free: 0.5703 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004874/0.4043, allocations: 379.3 kB / 485.4 MB, free: 204 kB / 382.1 MB Notification: Performance of SimCode: time 1.132e-06/0.4044, allocations: 0 / 485.4 MB, free: 204 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05744/0.4618, allocations: 20.13 MB / 0.4937 GB, free: 12.3 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.8, allocations: 0 / 0.4937 GB, free: 12.3 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 & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 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.434713530819863] Failed to read output from testmodel.py, exit status != 0: ['time', 'transformerL.inductor[2].i', 'transformerL.inductor[3].i'] 11.895833801012486 11.924732464 11.57937633 Calling exit ...