Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.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.001437/0.001437, allocations: 105 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.001603/0.001603, allocations: 217.1 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.299/1.299, allocations: 230.5 MB / 256.4 MB, free: 8.434 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.Analog.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_GenerationOfFMUs",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.001773/0.001773, allocations: 67.89 kB / 376.1 MB, free: 4.082 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2216/0.2234, allocations: 53.32 MB / 429.4 MB, free: 7.434 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.006779/0.2302, allocations: 6.052 MB / 435.5 MB, free: 1.355 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003064/0.2333, allocations: 1.749 MB / 437.2 MB, free: 15.6 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006121/0.2339, allocations: 35.81 kB / 437.3 MB, free: 15.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005009/0.2344, allocations: 249.6 kB / 437.5 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004636/0.2348, allocations: 217.7 kB / 437.7 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00099/0.2358, allocations: 0.5265 MB / 438.2 MB, free: 14.58 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001382/0.2372, allocations: 1.395 MB / 439.6 MB, free: 13.17 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006644/0.2379, allocations: 447.8 kB / 440.1 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005799/0.2384, allocations: 478.1 kB / 440.5 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005407/0.239, allocations: 0.4895 MB / 441 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001522/0.2391, allocations: 124 kB / 441.2 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002444/0.2394, allocations: 144 kB / 441.3 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002036/0.2396, allocations: 267 kB / 441.6 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005086/0.2401, allocations: 0.6178 MB / 442.2 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001548/0.2416, allocations: 1.634 MB / 443.8 MB, free: 8.969 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.2417, allocations: 3.938 kB / 443.8 MB, free: 8.965 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2417, allocations: 0 / 443.8 MB, free: 8.965 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.759e-05/0.2417, allocations: 0 / 443.8 MB, free: 8.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: 306 * Number of variables: 306 Notification: Performance of Generate backend data structure: time 0.001976/0.2436, allocations: 1.5 MB / 445.3 MB, free: 7.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.2437, allocations: 12.02 kB / 445.3 MB, free: 7.398 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001815/0.2439, allocations: 185.6 kB / 445.5 MB, free: 7.207 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003477/0.2442, allocations: 163 kB / 445.7 MB, free: 7.047 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001073/0.2453, allocations: 0.7672 MB / 446.4 MB, free: 6.234 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.114e-05/0.2454, allocations: 90.41 kB / 446.5 MB, free: 6.145 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001464/0.2455, allocations: 120 kB / 446.6 MB, free: 6.027 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001763/0.2473, allocations: 1.268 MB / 447.9 MB, free: 4.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.957e-05/0.2473, allocations: 7.938 kB / 447.9 MB, free: 4.582 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.072e-05/0.2474, allocations: 56 kB / 448 MB, free: 4.527 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.728e-05/0.2474, allocations: 35.98 kB / 448 MB, free: 4.492 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001198/0.2486, allocations: 0.6851 MB / 448.7 MB, free: 3.809 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005709/0.2543, allocations: 6.794 MB / 455.5 MB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006322/0.255, allocations: 245.3 kB / 455.7 MB, free: 12.42 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003466/0.2553, allocations: 165.6 kB / 455.9 MB, free: 12.25 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001201/0.2554, allocations: 81.11 kB / 456 MB, free: 12.16 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/0.2555, allocations: 42.56 kB / 456 MB, free: 12.11 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 3.406e-06/0.2555, allocations: 3.984 kB / 456 MB, free: 12.1 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.002304/0.2578, allocations: 1.424 MB / 457.4 MB, free: 10.57 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.853e-05/0.2578, allocations: 81.11 kB / 457.5 MB, free: 10.48 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007137/0.2585, allocations: 0.6648 MB / 458.2 MB, free: 9.805 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.996e-05/0.2586, allocations: 33.7 kB / 458.2 MB, free: 9.766 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004642/0.259, allocations: 0.7054 MB / 458.9 MB, free: 9.051 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.603e-05/0.2591, allocations: 119.1 kB / 459 MB, free: 8.934 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001736/0.2593, allocations: 142.6 kB / 459.2 MB, free: 8.785 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001768/0.2595, allocations: 382.8 kB / 459.5 MB, free: 8.402 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002759/0.2597, allocations: 149.9 kB / 459.7 MB, free: 8.258 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005531/0.2603, allocations: 0.5506 MB / 460.2 MB, free: 7.504 MB / 366.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: directCapacitor1.currentToVoltage.y = $START.directCapacitor1.currentToVoltage.y ($START.inverseCapacitor1.capacitor.v = $START.directCapacitor1.currentToVoltage.y) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: directInductor3.currentToVoltage.y = $START.directInductor3.currentToVoltage.y ($START.inverseInductor3.inductor.i = $START.directInductor3.currentToVoltage.y) Notification: Performance of analyzeInitialSystem (initialization): time 0.001108/0.2614, allocations: 0.9608 MB / 461.2 MB, free: 6.309 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.2614, allocations: 8 kB / 461.2 MB, free: 6.301 MB / 366.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0012/0.2626, allocations: 0.8028 MB / 462 MB, free: 5.488 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.2626, allocations: 8 kB / 462 MB, free: 5.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.074e-05/0.2627, allocations: 19.98 kB / 462 MB, free: 5.461 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00023/0.2629, allocations: 77.69 kB / 462.1 MB, free: 5.379 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005131/0.2634, allocations: 179.7 kB / 462.3 MB, free: 5.203 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002806/0.2662, allocations: 3.325 MB / 465.6 MB, free: 1.602 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003531/0.2666, allocations: 35.98 kB / 465.7 MB, free: 1.566 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.545e-05/0.2666, allocations: 52 kB / 465.7 MB, free: 1.516 MB / 366.1 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: directCapacitor1.currentToVoltage.y = $START.directCapacitor1.currentToVoltage.y directInductor3.currentToVoltage.y = $START.directInductor3.currentToVoltage.y. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (91): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003758/0.267, allocations: 269.4 kB / 466 MB, free: 1.242 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/0.2671, allocations: 79.52 kB / 466 MB, free: 1.164 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001074/0.2672, allocations: 66.42 kB / 466.1 MB, free: 1.098 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.2672, allocations: 4 kB / 466.1 MB, free: 1.094 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.2672, allocations: 0 / 466.1 MB, free: 1.094 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.834e-06/0.2672, allocations: 7.984 kB / 466.1 MB, free: 1.086 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001699/0.2689, allocations: 1.251 MB / 467.4 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.2689, allocations: 0 / 467.4 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003039/0.2692, allocations: 72 kB / 467.4 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001491/0.2694, allocations: 53.67 kB / 467.5 MB, free: 15.63 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.105e-05/0.2694, allocations: 8 kB / 467.5 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00222/0.2716, allocations: 3.066 MB / 470.6 MB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.2716, allocations: 0 / 470.6 MB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008465/0.2725, allocations: 0.6393 MB / 471.2 MB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00012/0.2726, allocations: 140.7 kB / 471.3 MB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.388e-05/0.2726, allocations: 8 kB / 471.4 MB, free: 11.44 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002454/0.2729, allocations: 23.98 kB / 471.4 MB, free: 11.42 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.514e-05/0.2729, allocations: 23.91 kB / 471.4 MB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.799e-05/0.2729, allocations: 12.11 kB / 471.4 MB, free: 11.38 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004845/0.2734, allocations: 435 kB / 471.8 MB, free: 10.96 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2734, allocations: 0 / 471.8 MB, free: 10.96 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008082/0.2742, allocations: 156 kB / 472 MB, free: 10.81 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (inverseInductor3.inductor.i,inductor4a.i,inductor4b.i,directCapacitor1.currentToVoltage.y,capacitor2a.v,capacitor2b.v) * 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 (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001199/0.2754, allocations: 1.2 MB / 473.2 MB, free: 9.566 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001028/0.2765, allocations: 0.6246 MB / 473.8 MB, free: 8.922 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2765, allocations: 4.125 kB / 473.8 MB, free: 8.918 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004495/0.2769, allocations: 357.1 kB / 474.2 MB, free: 8.543 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004978/0.2774, allocations: 75.23 kB / 474.2 MB, free: 8.473 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008091/0.2855, allocations: 6.482 MB / 480.7 MB, free: 1.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006388/0.2861, allocations: 1.031 MB / 481.8 MB, free: 380 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002359/0.2864, allocations: 86.03 kB / 481.8 MB, free: 292 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004526/0.2868, allocations: 423.4 kB / 482.2 MB, free: 15.87 MB / 398.1 MB Notification: Performance of SimCode: time 8.32e-07/0.2868, allocations: 0 / 482.2 MB, free: 15.87 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0471/0.3339, allocations: 12.85 MB / 495.1 MB, free: 3.184 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.447/9.781, allocations: 8.062 kB / 495.1 MB, free: 3.176 MB / 398.1 MB " [Timeout remaining time 650] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.GenerationOfFMUs_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_GenerationOfFMUs_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_GenerationOfFMUs.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.93036406399915]