Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.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.001478/0.001478, allocations: 105.1 kB / 21.22 MB, free: 0.5156 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.001485/0.001485, allocations: 217.3 kB / 24.54 MB, free: 3.898 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.487/1.487, allocations: 230.6 MB / 258.3 MB, free: 8.031 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.QuasiStatic.Polyphase.Examples.BalancingDelta,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta",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.001954/0.001954, allocations: 68.77 kB / 378.6 MB, free: 3.133 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2824/0.2844, allocations: 53.37 MB / 431.9 MB, free: 6.848 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta): time 0.01101/0.2954, allocations: 9.205 MB / 441.1 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005827/0.3012, allocations: 2.659 MB / 443.8 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001108/0.3023, allocations: 79.62 kB / 443.9 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008458/0.3108, allocations: 3.772 MB / 447.6 MB, free: 7.074 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003768/0.3145, allocations: 0.7646 MB / 448.4 MB, free: 6.309 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002809/0.3173, allocations: 0.9533 MB / 449.4 MB, free: 5.355 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005572/0.3229, allocations: 3.65 MB / 453 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009896/0.3328, allocations: 6.188 MB / 459.2 MB, free: 11.42 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003422/0.3362, allocations: 2.139 MB / 461.3 MB, free: 9.273 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004408/0.3406, allocations: 2.383 MB / 463.7 MB, free: 6.883 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001318/0.3419, allocations: 0.5898 MB / 464.3 MB, free: 6.293 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002135/0.3441, allocations: 0.82 MB / 465.1 MB, free: 5.473 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001367/0.3455, allocations: 1.107 MB / 466.2 MB, free: 4.363 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003474/0.3489, allocations: 2.292 MB / 468.5 MB, free: 2.062 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01213/0.3611, allocations: 7.912 MB / 476.4 MB, free: 10.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.028e-05/0.3611, allocations: 7.938 kB / 476.4 MB, free: 10.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.3611, allocations: 0 / 476.4 MB, free: 10.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002782/0.3613, allocations: 4 kB / 476.5 MB, free: 10.11 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1104 * Number of variables: 1104 Notification: Performance of Generate backend data structure: time 0.01563/0.377, allocations: 4.861 MB / 481.3 MB, free: 5.195 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.341e-05/0.377, allocations: 8.031 kB / 481.3 MB, free: 5.188 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002234/0.3793, allocations: 0.6 MB / 481.9 MB, free: 4.574 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008707/0.388, allocations: 1.279 MB / 483.2 MB, free: 3.293 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005706/0.3937, allocations: 2.325 MB / 485.5 MB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003706/0.394, allocations: 308.4 kB / 485.8 MB, free: 0.6367 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001453/0.3955, allocations: 412 kB / 486.2 MB, free: 240 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01452/0.41, allocations: 5.481 MB / 491.7 MB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001528/0.4102, allocations: 0 / 491.7 MB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001052/0.4112, allocations: 168 kB / 491.9 MB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002473/0.4115, allocations: 180.6 kB / 492 MB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01131/0.4228, allocations: 4.812 MB / 496.9 MB, free: 5.527 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03712/0.4599, allocations: 18.53 MB / 0.5033 GB, free: 2.402 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004389/0.4643, allocations: 1.78 MB / 0.5051 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001423/0.4657, allocations: 0.7145 MB / 0.5058 GB, free: 15.95 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000236/0.466, allocations: 56.81 kB / 0.5058 GB, free: 15.89 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.189e-05/0.466, allocations: 39.56 kB / 0.5058 GB, free: 15.84 MB / 430.1 MB Notification: Performance of pre-optimization done (n=100): time 3.556e-06/0.466, allocations: 0 / 0.5058 GB, free: 15.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=100): time 0.002899/0.4689, allocations: 1.566 MB / 0.5074 GB, free: 14.27 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.239e-05/0.469, allocations: 64.34 kB / 0.5074 GB, free: 14.2 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002624/0.4716, allocations: 1.338 MB / 0.5087 GB, free: 12.84 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.845e-05/0.4717, allocations: 45.7 kB / 0.5088 GB, free: 12.79 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001526/0.4732, allocations: 1.827 MB / 0.5106 GB, free: 10.94 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004176/0.4736, allocations: 377 kB / 0.5109 GB, free: 10.57 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000793/0.4744, allocations: 455.6 kB / 0.5114 GB, free: 10.12 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001986/0.4746, allocations: 357.9 kB / 0.5117 GB, free: 9.762 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001415/0.476, allocations: 0.8279 MB / 0.5125 GB, free: 8.93 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002396/0.4784, allocations: 1.827 MB / 0.5143 GB, free: 6.617 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003954/0.4824, allocations: 2.798 MB / 0.517 GB, free: 3.348 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.332e-05/0.4824, allocations: 8 kB / 0.517 GB, free: 3.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=273) (initialization): time 0.004857/0.4873, allocations: 2.739 MB / 0.5197 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.679e-05/0.4873, allocations: 20 kB / 0.5197 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.172e-05/0.4874, allocations: 32 kB / 0.5198 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.187e-05/0.4874, allocations: 48 kB / 0.5198 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001811/0.4893, allocations: 0.5271 MB / 0.5203 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-05/0.4893, allocations: 75.67 kB / 0.5204 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001406/0.4907, allocations: 290 kB / 0.5207 GB, free: 15.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002087/0.4909, allocations: 119.9 kB / 0.5208 GB, free: 15.49 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * 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 (272): * Single equations (assignments): 271 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002603/0.4936, allocations: 1.48 MB / 0.5222 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003344/0.4939, allocations: 127.2 kB / 0.5224 GB, free: 13.87 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002683/0.4966, allocations: 1.462 MB / 0.5238 GB, free: 12.39 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001687/0.4983, allocations: 1.041 MB / 0.5248 GB, free: 11.35 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/0.4983, allocations: 8 kB / 0.5248 GB, free: 11.34 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.155e-05/0.4983, allocations: 3.984 kB / 0.5248 GB, free: 11.34 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2445/0.7428, allocations: 11.06 MB / 0.5356 GB, free: 94.85 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001019/0.7429, allocations: 20.78 kB / 0.5356 GB, free: 94.85 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001154/0.7441, allocations: 235.1 kB / 0.5359 GB, free: 94.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.88e-05/0.7441, allocations: 26.66 kB / 0.5359 GB, free: 94.85 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000139/0.7443, allocations: 50.52 kB / 0.5359 GB, free: 94.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.296e-05/0.7443, allocations: 45.84 kB / 0.536 GB, free: 94.85 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.571e-05/0.7444, allocations: 31.47 kB / 0.536 GB, free: 94.85 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003564/0.7479, allocations: 2.673 MB / 0.5386 GB, free: 93.92 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006118/0.7486, allocations: 269.2 kB / 0.5389 GB, free: 93.92 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001709/0.7487, allocations: 47.97 kB / 0.5389 GB, free: 93.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007209/0.7495, allocations: 68.45 kB / 0.539 GB, free: 93.92 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001814/0.7496, allocations: 151.8 kB / 0.5391 GB, free: 93.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.113e-05/0.7497, allocations: 60.22 kB / 0.5392 GB, free: 93.91 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001141/0.7509, allocations: 0.9052 MB / 0.5401 GB, free: 93.75 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.7509, allocations: 0 / 0.5401 GB, free: 93.75 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002247/0.7531, allocations: 0.8759 MB / 0.5409 GB, free: 93.66 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 95 * Number of states: 1 (voltageSource.plug_p.reference.gamma) * 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 (106): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003073/0.7562, allocations: 3.317 MB / 0.5442 GB, free: 91.37 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002436/0.7586, allocations: 1.845 MB / 0.546 GB, free: 90.71 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.356e-05/0.7586, allocations: 6.781 kB / 0.546 GB, free: 90.71 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006993/0.7593, allocations: 0.6161 MB / 0.5466 GB, free: 90.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001771/0.7611, allocations: 333.8 kB / 0.5469 GB, free: 90.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01981/0.7809, allocations: 18.62 MB / 0.5651 GB, free: 76.93 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001829/0.7827, allocations: 2.809 MB / 0.5678 GB, free: 74.63 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001359/0.7841, allocations: 0.7583 MB / 0.5686 GB, free: 73.88 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009809/0.7851, allocations: 1.151 MB / 0.5697 GB, free: 72.72 MB / 446.1 MB Notification: Performance of SimCode: time 7.41e-07/0.7851, allocations: 0 / 0.5697 GB, free: 72.72 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1021/0.8872, allocations: 41.46 MB / 0.6102 GB, free: 31.43 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.75, allocations: 3.938 kB / 0.6102 GB, free: 31.43 MB / 446.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.233914089389145] Failed to read output from testmodel.py, exit status != 0: ['time', 'voltageSource.plug_p.reference.gamma'] 11.846330064814538 11.869298854 11.503363598 Calling exit ...