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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001445/0.001445, allocations: 105.5 kB / 19.74 MB, free: 2.566 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.001583/0.001583, allocations: 222.2 kB / 22.92 MB, free: 5.535 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.297/1.297, allocations: 230.5 MB / 256.4 MB, free: 8.414 MB / 206.1 MB " [Timeout remaining time 179] 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"}) [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.001806/0.001806, allocations: 67.88 kB / 376.1 MB, free: 4.078 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2181/0.2199, allocations: 53.32 MB / 429.4 MB, free: 7.418 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.007112/0.227, allocations: 6.071 MB / 435.5 MB, free: 1.316 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003085/0.2301, allocations: 1.698 MB / 437.2 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005889/0.2307, allocations: 51.81 kB / 437.2 MB, free: 15.56 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005999/0.2313, allocations: 313.5 kB / 437.5 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000976/0.2322, allocations: 385.4 kB / 437.9 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006205/0.2329, allocations: 363.5 kB / 438.3 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002025/0.2349, allocations: 2.009 MB / 440.3 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001961/0.2369, allocations: 1.599 MB / 441.9 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001197/0.238, allocations: 1.052 MB / 442.9 MB, free: 9.785 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001529/0.2396, allocations: 1.226 MB / 444.2 MB, free: 8.555 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003881/0.24, allocations: 308 kB / 444.5 MB, free: 8.254 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007394/0.2407, allocations: 471.7 kB / 444.9 MB, free: 7.793 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006267/0.2413, allocations: 0.7363 MB / 445.6 MB, free: 7.055 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001243/0.2426, allocations: 1.264 MB / 446.9 MB, free: 5.785 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003576/0.2462, allocations: 3.804 MB / 450.7 MB, free: 1.973 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.2462, allocations: 4 kB / 450.7 MB, free: 1.969 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2462, allocations: 0 / 450.7 MB, free: 1.969 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.593e-05/0.2462, allocations: 3.938 kB / 450.7 MB, free: 1.965 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.004355/0.2506, allocations: 2.525 MB / 453.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.2506, allocations: 12.02 kB / 453.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003719/0.251, allocations: 328.9 kB / 453.6 MB, free: 15.03 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000759/0.2518, allocations: 279.4 kB / 453.9 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001939/0.2537, allocations: 1.33 MB / 455.2 MB, free: 13.38 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001395/0.2538, allocations: 168.9 kB / 455.4 MB, free: 13.21 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002898/0.2541, allocations: 223.9 kB / 455.6 MB, free: 12.99 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003906/0.258, allocations: 2.549 MB / 458.1 MB, free: 10.39 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.513e-05/0.2581, allocations: 0 / 458.1 MB, free: 10.39 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001839/0.2582, allocations: 95.94 kB / 458.2 MB, free: 10.3 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.859e-05/0.2583, allocations: 56 kB / 458.3 MB, free: 10.24 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003439/0.2618, allocations: 2.137 MB / 460.4 MB, free: 8.09 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01075/0.2725, allocations: 7.509 MB / 467.9 MB, free: 372 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001255/0.2738, allocations: 1.223 MB / 469.1 MB, free: 15 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001006/0.2748, allocations: 0.5906 MB / 469.7 MB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.499e-05/0.2748, allocations: 4.562 kB / 469.7 MB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.606e-05/0.2748, allocations: 43.12 kB / 469.8 MB, free: 14.36 MB / 382.1 MB Notification: Performance of pre-optimization done (n=63): time 2.444e-06/0.2748, allocations: 4 kB / 469.8 MB, free: 14.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=65): time 0.003895/0.2787, allocations: 2.454 MB / 472.2 MB, free: 11.84 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/0.2788, allocations: 55.97 kB / 472.3 MB, free: 11.77 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009344/0.2797, allocations: 0.8012 MB / 473.1 MB, free: 10.96 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.415e-05/0.2797, allocations: 37.7 kB / 473.1 MB, free: 10.92 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005926/0.2803, allocations: 0.9439 MB / 474.1 MB, free: 9.965 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001741/0.2805, allocations: 238 kB / 474.3 MB, free: 9.73 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002138/0.2807, allocations: 154.6 kB / 474.5 MB, free: 9.57 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001855/0.2809, allocations: 390.8 kB / 474.8 MB, free: 9.18 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005454/0.2815, allocations: 365.8 kB / 475.2 MB, free: 8.824 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007167/0.2822, allocations: 0.575 MB / 475.8 MB, free: 8.152 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001298/0.2835, allocations: 0.9893 MB / 476.8 MB, free: 7.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.2835, allocations: 4 kB / 476.8 MB, free: 7.066 MB / 382.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001747/0.2852, allocations: 1.147 MB / 477.9 MB, free: 5.906 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.2852, allocations: 8.625 kB / 477.9 MB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/0.2853, allocations: 15.94 kB / 477.9 MB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002809/0.2855, allocations: 108.8 kB / 478 MB, free: 5.773 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006419/0.2862, allocations: 171.7 kB / 478.2 MB, free: 5.605 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002251/0.2884, allocations: 2.33 MB / 480.5 MB, free: 3.141 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004347/0.2889, allocations: 44.03 kB / 480.6 MB, free: 3.098 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.793e-05/0.2889, allocations: 35.98 kB / 480.6 MB, free: 3.062 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.0008993/0.2898, allocations: 0.6496 MB / 481.3 MB, free: 2.402 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001562/0.29, allocations: 91.38 kB / 481.4 MB, free: 2.312 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001923/0.2902, allocations: 103.7 kB / 481.5 MB, free: 2.199 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.497e-05/0.2902, allocations: 8 kB / 481.5 MB, free: 2.191 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.2902, allocations: 0 / 481.5 MB, free: 2.191 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/0.2902, allocations: 11.98 kB / 481.5 MB, free: 2.18 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003905/0.2941, allocations: 2.655 MB / 484.1 MB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.2941, allocations: 0 / 484.1 MB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004442/0.2946, allocations: 107.9 kB / 484.2 MB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002206/0.2948, allocations: 100.9 kB / 484.3 MB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.004e-05/0.2948, allocations: 15.94 kB / 484.3 MB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002061/0.2969, allocations: 2.264 MB / 486.6 MB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2969, allocations: 3.938 kB / 486.6 MB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002018/0.2989, allocations: 1.421 MB / 488 MB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003076/0.2992, allocations: 228.5 kB / 488.3 MB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.405e-05/0.2993, allocations: 20.22 kB / 488.3 MB, free: 11.1 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003928/0.2997, allocations: 43.94 kB / 488.3 MB, free: 11.06 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.2998, allocations: 44.44 kB / 488.4 MB, free: 11.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.114e-05/0.2998, allocations: 27.92 kB / 488.4 MB, free: 10.99 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007078/0.3005, allocations: 0.5654 MB / 489 MB, free: 10.43 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3005, allocations: 0 / 489 MB, free: 10.43 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009759/0.3015, allocations: 300 kB / 489.2 MB, free: 10.13 MB / 398.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.002386/0.3039, allocations: 2 MB / 491.2 MB, free: 8.09 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00158/0.3055, allocations: 0.9642 MB / 492.2 MB, free: 7.113 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3055, allocations: 0 / 492.2 MB, free: 7.113 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008155/0.3063, allocations: 0.5366 MB / 492.7 MB, free: 6.562 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009854/0.3073, allocations: 215.2 kB / 493 MB, free: 6.355 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01358/0.3209, allocations: 10.21 MB / 0.4914 GB, free: 11.79 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001384/0.3223, allocations: 1.724 MB / 0.4931 GB, free: 10.02 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005047/0.3228, allocations: 203.1 kB / 0.4932 GB, free: 9.82 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007527/0.3235, allocations: 0.6477 MB / 0.4939 GB, free: 9.176 MB / 414.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3235, allocations: 4 kB / 0.4939 GB, free: 9.172 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06014/0.3837, allocations: 24.53 MB / 0.5178 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.999/10.38, allocations: 6.406 kB / 0.5179 GB, free: 0.875 MB / 430.1 MB " [Timeout remaining time 650] (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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.557173114000761]