Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) 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.TestSensors,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001632/0.001632, allocations: 121.1 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001924/0.001924, allocations: 204.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.483/1.483, allocations: 227.7 MB / 247.2 MB, free: 10.17 MB / 206.1 MB 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.001871/0.001871, allocations: 67.89 kB / 358.5 MB, free: 13.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2888/0.2907, allocations: 50.54 MB / 409 MB, free: 1.488 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.007999/0.2988, allocations: 6.026 MB / 415.1 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003638/0.3024, allocations: 1.69 MB / 416.8 MB, free: 9.738 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005766/0.303, allocations: 43.88 kB / 416.8 MB, free: 9.695 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006165/0.3037, allocations: 301.5 kB / 417.1 MB, free: 9.398 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001098/0.3048, allocations: 381.5 kB / 417.5 MB, free: 9.023 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006828/0.3055, allocations: 351.5 kB / 417.8 MB, free: 8.68 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002111/0.3076, allocations: 2.024 MB / 419.8 MB, free: 6.648 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00301/0.3107, allocations: 2.731 MB / 422.6 MB, free: 3.852 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001367/0.312, allocations: 1.04 MB / 423.6 MB, free: 2.809 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00147/0.3135, allocations: 1.21 MB / 424.8 MB, free: 1.594 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003817/0.3139, allocations: 312 kB / 425.1 MB, free: 1.289 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008069/0.3147, allocations: 451.8 kB / 425.6 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006782/0.3154, allocations: 0.7364 MB / 426.3 MB, free: 112 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001331/0.3168, allocations: 1.256 MB / 427.6 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004042/0.3208, allocations: 3.806 MB / 431.4 MB, free: 11.03 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3208, allocations: 4 kB / 431.4 MB, free: 11.03 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3208, allocations: 0 / 431.4 MB, free: 11.03 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.056e-05/0.3209, allocations: 0 / 431.4 MB, free: 11.03 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: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.004718/0.3256, allocations: 2.525 MB / 433.9 MB, free: 8.438 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.3257, allocations: 16.03 kB / 433.9 MB, free: 8.422 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003999/0.3261, allocations: 324.9 kB / 434.2 MB, free: 8.094 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008355/0.327, allocations: 275.4 kB / 434.5 MB, free: 7.824 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002066/0.329, allocations: 1.342 MB / 435.8 MB, free: 6.434 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001376/0.3292, allocations: 164.9 kB / 436 MB, free: 6.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003045/0.3295, allocations: 223.9 kB / 436.2 MB, free: 6.051 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004299/0.3338, allocations: 2.542 MB / 438.8 MB, free: 3.457 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.11e-05/0.3339, allocations: 4 kB / 438.8 MB, free: 3.453 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000199/0.3341, allocations: 95.98 kB / 438.9 MB, free: 3.359 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.496e-05/0.3342, allocations: 56 kB / 438.9 MB, free: 3.305 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003535/0.3377, allocations: 2.141 MB / 441.1 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01144/0.3492, allocations: 7.502 MB / 448.6 MB, free: 9.43 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001363/0.3506, allocations: 1.254 MB / 449.8 MB, free: 8.043 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001136/0.3517, allocations: 0.6297 MB / 450.4 MB, free: 7.414 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.525e-05/0.3518, allocations: 12.5 kB / 450.5 MB, free: 7.402 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.297e-05/0.3518, allocations: 43.11 kB / 450.5 MB, free: 7.352 MB / 366.1 MB Notification: Performance of pre-optimization done (n=63): time 6.763e-06/0.3518, allocations: 3.984 kB / 450.5 MB, free: 7.348 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.004614/0.3564, allocations: 2.462 MB / 453 MB, free: 4.828 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.956e-05/0.3565, allocations: 59.97 kB / 453 MB, free: 4.754 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001101/0.3576, allocations: 0.7934 MB / 453.8 MB, free: 3.949 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.613e-05/0.3577, allocations: 37.7 kB / 453.8 MB, free: 3.906 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006732/0.3584, allocations: 0.9519 MB / 454.8 MB, free: 2.941 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001856/0.3586, allocations: 238 kB / 455 MB, free: 2.707 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002269/0.3588, allocations: 142.6 kB / 455.2 MB, free: 2.559 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002143/0.359, allocations: 390.8 kB / 455.6 MB, free: 2.168 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005899/0.3596, allocations: 365.8 kB / 455.9 MB, free: 1.812 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007894/0.3604, allocations: 0.5868 MB / 456.5 MB, free: 1.129 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001408/0.3618, allocations: 0.9815 MB / 457.5 MB, free: 56 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.3619, allocations: 0 / 457.5 MB, free: 56 kB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00198/0.3638, allocations: 1.155 MB / 458.6 MB, free: 14.89 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.3639, allocations: 8 kB / 458.6 MB, free: 14.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.545e-05/0.3639, allocations: 11.94 kB / 458.7 MB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003103/0.3642, allocations: 112.7 kB / 458.8 MB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006647/0.3649, allocations: 171.8 kB / 458.9 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002473/0.3674, allocations: 2.326 MB / 461.3 MB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004808/0.3679, allocations: 35.97 kB / 461.3 MB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.186e-05/0.3679, allocations: 36 kB / 461.3 MB, free: 12.05 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (89): * Single equations (assignments): 86 * Array equations: 2 * 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.00117/0.3691, allocations: 0.6496 MB / 462 MB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001843/0.3693, allocations: 95.36 kB / 462.1 MB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002079/0.3695, allocations: 103.8 kB / 462.2 MB, free: 11.19 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.533e-05/0.3696, allocations: 8 kB / 462.2 MB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/0.3696, allocations: 0 / 462.2 MB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/0.3696, allocations: 3.984 kB / 462.2 MB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004454/0.374, allocations: 2.655 MB / 464.8 MB, free: 8.441 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.3741, allocations: 4 kB / 464.8 MB, free: 8.438 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005326/0.3746, allocations: 116 kB / 465 MB, free: 8.324 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002614/0.3749, allocations: 96.78 kB / 465 MB, free: 8.227 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.038e-05/0.375, allocations: 23.92 kB / 465.1 MB, free: 8.203 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002372/0.3773, allocations: 2.271 MB / 467.3 MB, free: 5.797 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.3773, allocations: 4.031 kB / 467.3 MB, free: 5.793 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002235/0.3796, allocations: 1.425 MB / 468.8 MB, free: 4.332 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003865/0.38, allocations: 220.5 kB / 469 MB, free: 4.098 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.405e-05/0.3801, allocations: 19.92 kB / 469 MB, free: 4.078 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000393/0.3805, allocations: 39.97 kB / 469 MB, free: 4.039 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/0.3806, allocations: 52.55 kB / 469.1 MB, free: 3.988 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.125e-05/0.3807, allocations: 19.98 kB / 469.1 MB, free: 3.969 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008096/0.3815, allocations: 0.5693 MB / 469.7 MB, free: 3.402 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.3815, allocations: 0 / 469.7 MB, free: 3.402 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001154/0.3827, allocations: 296 kB / 470 MB, free: 3.113 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (inductor.inductor[2].i,inductor.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 (55): * Single equations (assignments): 52 * Array equations: 2 * 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.002592/0.3853, allocations: 2.005 MB / 472 MB, free: 1.066 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001921/0.3872, allocations: 1.006 MB / 473 MB, free: 48 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.3872, allocations: 0 / 473 MB, free: 48 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008993/0.3881, allocations: 0.5578 MB / 473.5 MB, free: 15.48 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001165/0.3893, allocations: 227 kB / 473.8 MB, free: 15.26 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01519/0.4045, allocations: 10.18 MB / 483.9 MB, free: 4.711 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001754/0.4063, allocations: 1.728 MB / 485.7 MB, free: 2.945 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006675/0.407, allocations: 199.1 kB / 485.9 MB, free: 2.746 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008097/0.4078, allocations: 0.6438 MB / 486.5 MB, free: 2.105 MB / 398.1 MB Notification: Performance of SimCode: time 1.282e-06/0.4078, allocations: 3.938 kB / 486.5 MB, free: 2.102 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0658/0.4736, allocations: 24.28 MB / 0.4988 GB, free: 10.11 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.41, allocations: 12.5 kB / 0.4988 GB, free: 10.1 MB / 430.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TestSensors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TestSensors_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Polyphase_Examples_TestSensors_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Polyphase_Examples_TestSensors.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe 2>&1)