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.001541/0.001541, allocations: 109.4 kB / 19.8 MB, free: 2.516 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.002543/0.002543, allocations: 222.5 kB / 23 MB, free: 5.613 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.45/1.45, allocations: 230.5 MB / 256.5 MB, free: 8.25 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.001919/0.001919, allocations: 63.89 kB / 376.2 MB, free: 4.035 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2931/0.295, allocations: 53.32 MB / 429.5 MB, free: 7.418 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.005407/0.3004, allocations: 3.812 MB / 433.3 MB, free: 3.594 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002133/0.3025, allocations: 1.036 MB / 434.4 MB, free: 2.555 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002911/0.3028, allocations: 23.88 kB / 434.4 MB, free: 2.531 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003492/0.3032, allocations: 154.8 kB / 434.5 MB, free: 2.379 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000831/0.304, allocations: 286.4 kB / 434.8 MB, free: 2.098 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003371/0.3043, allocations: 131.8 kB / 435 MB, free: 1.969 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001486/0.3058, allocations: 1.401 MB / 436.4 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008819/0.3067, allocations: 0.6426 MB / 437 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008369/0.3075, allocations: 0.6309 MB / 437.6 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001025/0.3086, allocations: 0.7783 MB / 438.4 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002165/0.3088, allocations: 156 kB / 438.6 MB, free: 14.31 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002909/0.3091, allocations: 164 kB / 438.7 MB, free: 14.15 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004318/0.3095, allocations: 458.7 kB / 439.2 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007793/0.3103, allocations: 0.7311 MB / 439.9 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002046/0.3123, allocations: 2.052 MB / 441.9 MB, free: 10.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3123, allocations: 4 kB / 442 MB, free: 10.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3123, allocations: 0 / 442 MB, free: 10.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.558e-05/0.3124, allocations: 0 / 442 MB, free: 10.91 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.003268/0.3156, allocations: 1.702 MB / 443.7 MB, free: 9.152 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.3157, allocations: 8.031 kB / 443.7 MB, free: 9.145 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002351/0.3159, allocations: 185.1 kB / 443.8 MB, free: 8.953 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000503/0.3164, allocations: 172 kB / 444 MB, free: 8.785 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00142/0.3178, allocations: 0.9091 MB / 444.9 MB, free: 7.832 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.035e-05/0.3179, allocations: 86.16 kB / 445 MB, free: 7.746 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001595/0.3181, allocations: 108 kB / 445.1 MB, free: 7.641 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002444/0.3205, allocations: 1.548 MB / 446.7 MB, free: 6.047 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/0.3205, allocations: 0 / 446.7 MB, free: 6.047 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001084/0.3207, allocations: 44 kB / 446.7 MB, free: 6.004 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.55e-05/0.3207, allocations: 28 kB / 446.7 MB, free: 5.977 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00225/0.3229, allocations: 1.316 MB / 448 MB, free: 4.652 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006817/0.3297, allocations: 4.179 MB / 452.2 MB, free: 348 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001358/0.3311, allocations: 1.282 MB / 453.5 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007218/0.3318, allocations: 430.5 kB / 453.9 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.605e-05/0.3319, allocations: 12.41 kB / 453.9 MB, free: 14.44 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.294e-05/0.3319, allocations: 42.94 kB / 454 MB, free: 14.39 MB / 366.1 MB Notification: Performance of pre-optimization done (n=49): time 2.054e-06/0.3319, allocations: 0 / 454 MB, free: 14.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=51): time 0.003578/0.3355, allocations: 1.956 MB / 455.9 MB, free: 12.38 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.903e-05/0.3355, allocations: 59.84 kB / 456 MB, free: 12.31 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001139/0.3367, allocations: 0.8321 MB / 456.8 MB, free: 11.47 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.683e-05/0.3367, allocations: 33.7 kB / 456.9 MB, free: 11.43 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004603/0.3372, allocations: 0.5506 MB / 457.4 MB, free: 10.87 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001663/0.3374, allocations: 182.3 kB / 457.6 MB, free: 10.7 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000178/0.3375, allocations: 102.2 kB / 457.7 MB, free: 10.59 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002289/0.3378, allocations: 390.8 kB / 458.1 MB, free: 10.2 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005097/0.3383, allocations: 304.9 kB / 458.4 MB, free: 9.898 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005511/0.3388, allocations: 399.4 kB / 458.8 MB, free: 9.48 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00104/0.3399, allocations: 0.7106 MB / 459.5 MB, free: 8.738 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.3399, allocations: 0 / 459.5 MB, free: 8.738 MB / 366.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001501/0.3414, allocations: 0.913 MB / 460.4 MB, free: 7.812 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.516e-05/0.3414, allocations: 11.94 kB / 460.4 MB, free: 7.801 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.3414, allocations: 0 / 460.4 MB, free: 7.801 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000316/0.3417, allocations: 108.8 kB / 460.5 MB, free: 7.691 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005402/0.3423, allocations: 127.8 kB / 460.6 MB, free: 7.566 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002529/0.3448, allocations: 2.368 MB / 463 MB, free: 5.055 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004141/0.3452, allocations: 24.02 kB / 463 MB, free: 5.031 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.076e-05/0.3452, allocations: 20 kB / 463 MB, free: 5.012 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.000715/0.346, allocations: 457.5 kB / 463.5 MB, free: 4.555 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001404/0.3461, allocations: 75.53 kB / 463.6 MB, free: 4.48 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001809/0.3463, allocations: 95.14 kB / 463.6 MB, free: 4.387 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.3463, allocations: 4 kB / 463.6 MB, free: 4.383 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.909e-06/0.3463, allocations: 3.938 kB / 463.7 MB, free: 4.379 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.3463, allocations: 3.984 kB / 463.7 MB, free: 4.375 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0032/0.3495, allocations: 2.013 MB / 465.7 MB, free: 2.285 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.838e-06/0.3495, allocations: 4.156 kB / 465.7 MB, free: 2.281 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003737/0.3499, allocations: 87.89 kB / 465.8 MB, free: 2.195 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002528/0.3501, allocations: 108.7 kB / 465.9 MB, free: 2.086 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.807e-05/0.3502, allocations: 16.17 kB / 465.9 MB, free: 2.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002342/0.3525, allocations: 2.33 MB / 468.2 MB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.3525, allocations: 8.094 kB / 468.2 MB, free: 15.6 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001809/0.3543, allocations: 1.2 MB / 469.4 MB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002327/0.3546, allocations: 164.6 kB / 469.6 MB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.01e-05/0.3546, allocations: 12 kB / 469.6 MB, free: 14.17 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000405/0.355, allocations: 52.02 kB / 469.6 MB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/0.3551, allocations: 40.31 kB / 469.7 MB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.414e-05/0.3552, allocations: 16 kB / 469.7 MB, free: 14.06 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007941/0.356, allocations: 0.5888 MB / 470.3 MB, free: 13.47 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.356, allocations: 0 / 470.3 MB, free: 13.47 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007814/0.3568, allocations: 212 kB / 470.5 MB, free: 13.27 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.002145/0.3589, allocations: 1.761 MB / 472.3 MB, free: 11.46 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001429/0.3603, allocations: 0.8086 MB / 473.1 MB, free: 10.64 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.3603, allocations: 0 / 473.1 MB, free: 10.64 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007608/0.3611, allocations: 472.9 kB / 473.5 MB, free: 10.16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009531/0.362, allocations: 190.7 kB / 473.7 MB, free: 9.977 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01271/0.3748, allocations: 8.655 MB / 482.4 MB, free: 1.121 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001062/0.3758, allocations: 1.336 MB / 483.7 MB, free: 15.75 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005105/0.3763, allocations: 189.8 kB / 483.9 MB, free: 15.57 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004987/0.3768, allocations: 379.3 kB / 484.3 MB, free: 15.2 MB / 398.1 MB Notification: Performance of SimCode: time 7.61e-07/0.3768, allocations: 0 / 484.3 MB, free: 15.2 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05507/0.4319, allocations: 19.75 MB / 0.4922 GB, free: 11.67 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.43, allocations: 3.5 kB / 0.4922 GB, free: 11.67 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 --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: 13.748926164000295] Failed to read output from testmodel.py, exit status != 0: ['time', 'transformerL.inductor[2].i', 'transformerL.inductor[3].i'] 11.516825869999593 11.531686361 11.215899289 Calling exit ...