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.001384/0.001384, allocations: 116.8 kB / 18.5 MB, free: 4.539 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.001509/0.001509, allocations: 212.9 kB / 21.46 MB, free: 1.59 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.493/1.493, allocations: 230.5 MB / 254.8 MB, free: 15.08 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.002824/0.002824, allocations: 67.84 kB / 373.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1136, allocations: 53.33 MB / 427 MB, free: 4.777 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.005596/0.1192, allocations: 3.801 MB / 430.8 MB, free: 0.957 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2108/0.33, allocations: 1.024 MB / 431.8 MB, free: 7.539 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005092/0.3305, allocations: 29.72 kB / 431.9 MB, free: 7.539 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003509/0.3309, allocations: 152.6 kB / 432 MB, free: 7.539 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007923/0.3316, allocations: 280.3 kB / 432.3 MB, free: 7.531 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002589/0.3319, allocations: 137.9 kB / 432.4 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001136/0.333, allocations: 1.409 MB / 433.8 MB, free: 7.391 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008742/0.3339, allocations: 0.8819 MB / 434.7 MB, free: 7.266 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007136/0.3346, allocations: 0.6489 MB / 435.3 MB, free: 7.156 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000874/0.3355, allocations: 0.7714 MB / 436.1 MB, free: 7.016 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002187/0.3357, allocations: 155.4 kB / 436.3 MB, free: 7.016 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003013/0.336, allocations: 161.7 kB / 436.4 MB, free: 7.016 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003899/0.3364, allocations: 461.9 kB / 436.9 MB, free: 6.957 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007838/0.3372, allocations: 0.7316 MB / 437.6 MB, free: 6.555 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002085/0.3393, allocations: 2.05 MB / 439.7 MB, free: 5.863 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3393, allocations: 0 / 439.7 MB, free: 5.863 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3393, allocations: 0 / 439.7 MB, free: 5.863 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.468e-05/0.3393, allocations: 5.828 kB / 439.7 MB, free: 5.859 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.003089/0.3424, allocations: 1.697 MB / 441.4 MB, free: 4.824 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.3425, allocations: 13.66 kB / 441.4 MB, free: 4.82 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002463/0.3427, allocations: 184.6 kB / 441.6 MB, free: 4.699 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005227/0.3432, allocations: 175.6 kB / 441.7 MB, free: 4.625 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001378/0.3446, allocations: 0.9003 MB / 442.6 MB, free: 4.105 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.27e-05/0.3447, allocations: 82.56 kB / 442.7 MB, free: 4.066 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001726/0.3449, allocations: 112.3 kB / 442.8 MB, free: 4.027 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002492/0.3474, allocations: 1.55 MB / 444.4 MB, free: 3.406 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.255e-05/0.3474, allocations: 0 / 444.4 MB, free: 3.406 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/0.3475, allocations: 47.16 kB / 444.4 MB, free: 3.371 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.596e-05/0.3475, allocations: 26.88 kB / 444.4 MB, free: 3.371 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002031/0.3495, allocations: 1.317 MB / 445.8 MB, free: 2.918 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006194/0.3557, allocations: 4.179 MB / 449.9 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001055/0.3568, allocations: 1.282 MB / 451.2 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007462/0.3575, allocations: 433.6 kB / 451.6 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.522e-05/0.3576, allocations: 7.062 kB / 451.7 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.576e-05/0.3576, allocations: 37.81 kB / 451.7 MB, free: 15.54 MB / 366.1 MB Notification: Performance of pre-optimization done (n=49): time 2.234e-06/0.3576, allocations: 0 / 451.7 MB, free: 15.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=51): time 0.003564/0.3612, allocations: 1.961 MB / 453.6 MB, free: 14.47 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.886e-05/0.3612, allocations: 60.25 kB / 453.7 MB, free: 14.4 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001173/0.3624, allocations: 0.8299 MB / 454.5 MB, free: 13.94 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.221e-05/0.3624, allocations: 36.27 kB / 454.6 MB, free: 13.9 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004716/0.3629, allocations: 0.5506 MB / 455.1 MB, free: 13.42 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001545/0.3631, allocations: 182.6 kB / 455.3 MB, free: 13.26 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001875/0.3633, allocations: 106.7 kB / 455.4 MB, free: 13.2 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002142/0.3635, allocations: 388 kB / 455.8 MB, free: 12.83 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004896/0.364, allocations: 303.8 kB / 456.1 MB, free: 12.67 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005721/0.3645, allocations: 401.7 kB / 456.5 MB, free: 12.41 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001028/0.3656, allocations: 0.7089 MB / 457.2 MB, free: 11.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.3656, allocations: 1.875 kB / 457.2 MB, free: 11.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001485/0.367, allocations: 0.9128 MB / 458.1 MB, free: 11.48 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.3671, allocations: 9.234 kB / 458.1 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.3671, allocations: 3.219 kB / 458.1 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002828/0.3674, allocations: 106 kB / 458.2 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005053/0.3679, allocations: 127 kB / 458.3 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00257/0.3704, allocations: 2.363 MB / 460.7 MB, free: 9.297 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004969/0.3709, allocations: 31.64 kB / 460.7 MB, free: 9.277 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.246e-05/0.371, allocations: 22.11 kB / 460.8 MB, free: 9.27 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.0007352/0.3717, allocations: 450.8 kB / 461.2 MB, free: 8.965 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001438/0.3719, allocations: 83.84 kB / 461.3 MB, free: 8.922 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001895/0.372, allocations: 97.88 kB / 461.4 MB, free: 8.852 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.372, allocations: 5.531 kB / 461.4 MB, free: 8.852 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/0.3721, allocations: 1.188 kB / 461.4 MB, free: 8.852 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.3721, allocations: 5.703 kB / 461.4 MB, free: 8.848 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003365/0.3754, allocations: 2.017 MB / 463.4 MB, free: 7.562 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.3754, allocations: 5.406 kB / 463.4 MB, free: 7.559 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003405/0.3758, allocations: 83.3 kB / 463.5 MB, free: 7.543 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000242/0.376, allocations: 108.2 kB / 463.6 MB, free: 7.484 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.624e-05/0.3761, allocations: 17.52 kB / 463.6 MB, free: 7.473 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002358/0.3784, allocations: 2.326 MB / 465.9 MB, free: 5.41 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.3784, allocations: 1.5 kB / 465.9 MB, free: 5.41 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001913/0.3803, allocations: 1.201 MB / 467.1 MB, free: 4.68 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003109/0.3806, allocations: 167.6 kB / 467.3 MB, free: 4.527 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.879e-05/0.3807, allocations: 10.09 kB / 467.3 MB, free: 4.523 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004128/0.3811, allocations: 50.08 kB / 467.4 MB, free: 4.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001184/0.3813, allocations: 47.12 kB / 467.4 MB, free: 4.473 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.353e-05/0.3813, allocations: 10.94 kB / 467.4 MB, free: 4.473 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008233/0.3821, allocations: 0.5979 MB / 468 MB, free: 4.133 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3821, allocations: 0 / 468 MB, free: 4.133 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008423/0.383, allocations: 209.4 kB / 468.2 MB, free: 4.117 MB / 366.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.002056/0.385, allocations: 1.754 MB / 470 MB, free: 2.848 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00139/0.3864, allocations: 0.8063 MB / 470.8 MB, free: 2.387 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.3864, allocations: 1.375 kB / 470.8 MB, free: 2.387 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000767/0.3872, allocations: 473 kB / 471.2 MB, free: 2.098 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/0.3882, allocations: 188.1 kB / 471.4 MB, free: 2.008 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01312/0.4013, allocations: 8.637 MB / 480.1 MB, free: 9.449 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001101/0.4024, allocations: 1.337 MB / 481.4 MB, free: 8.086 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005172/0.4029, allocations: 183 kB / 481.6 MB, free: 7.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005123/0.4034, allocations: 379.3 kB / 482 MB, free: 7.539 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.4034, allocations: 0 / 482 MB, free: 7.539 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06358/0.467, allocations: 19.76 MB / 0.49 GB, free: 4.07 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.54, allocations: 14.19 kB / 0.49 GB, free: 4.062 MB / 398.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.082767772022635] Failed to read output from testmodel.py, exit status != 0: ['time', 'transformerL.inductor[2].i', 'transformerL.inductor[3].i'] 11.63355656620115 11.647140353 11.304738999 Calling exit ...