Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.GenerationOfFMUs") translateModel(Modelica.Electrical.Analog.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.GenerationOfFMUs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001697/0.001698, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.02/2.02, allocations: 205.4 MB / 222.1 MB, free: 5.535 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005155/0.0005157, allocations: 14.66 kB / 278.9 MB, free: 12.72 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.3468, allocations: 47.58 MB / 326.4 MB, free: 1.703 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.006307/0.3532, allocations: 4.905 MB / 331.3 MB, free: 13.86 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.005157/0.3584, allocations: 1.647 MB / 333 MB, free: 12.51 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002106/0.3606, allocations: 33.75 kB / 333 MB, free: 12.49 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004629/0.3611, allocations: 123.4 kB / 333.1 MB, free: 12.38 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001118/0.3622, allocations: 264.1 kB / 333.4 MB, free: 12.16 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001236/0.3635, allocations: 330.7 kB / 333.7 MB, free: 11.9 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.002163/0.3656, allocations: 0.8865 MB / 334.6 MB, free: 11.32 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009117/0.3666, allocations: 471.3 kB / 335.1 MB, free: 10.99 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006632/0.3672, allocations: 354.3 kB / 335.4 MB, free: 10.64 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004736/0.3677, allocations: 393.7 kB / 335.8 MB, free: 10.25 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 8.025e-05/0.3678, allocations: 48 kB / 335.9 MB, free: 10.21 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001741/0.368, allocations: 60 kB / 335.9 MB, free: 10.15 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001446/0.3681, allocations: 171.2 kB / 336.1 MB, free: 9.98 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001906/0.3683, allocations: 245 kB / 336.3 MB, free: 9.734 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001019/0.3694, allocations: 1.162 MB / 337.5 MB, free: 8.57 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.3694, allocations: 0 / 337.5 MB, free: 8.57 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3694, allocations: 0 / 337.5 MB, free: 8.57 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.977e-05/0.3694, allocations: 0 / 337.5 MB, free: 8.57 MB / 270.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.001969/0.3714, allocations: 1.244 MB / 338.7 MB, free: 7.273 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/0.3714, allocations: 8.031 kB / 338.7 MB, free: 7.266 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002272/0.3717, allocations: 138.3 kB / 338.9 MB, free: 7.129 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001146/0.3728, allocations: 0.6892 MB / 339.6 MB, free: 6.398 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.561e-05/0.3729, allocations: 98.36 kB / 339.7 MB, free: 6.301 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001854/0.3731, allocations: 119.9 kB / 339.8 MB, free: 6.184 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002088/0.3752, allocations: 1.256 MB / 341 MB, free: 4.758 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.329e-05/0.3753, allocations: 7.938 kB / 341 MB, free: 4.75 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.876e-05/0.3754, allocations: 48 kB / 341.1 MB, free: 4.703 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.249e-05/0.3754, allocations: 36 kB / 341.1 MB, free: 4.668 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001377/0.3768, allocations: 0.6851 MB / 341.8 MB, free: 3.98 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006991/0.3838, allocations: 6.828 MB / 348.6 MB, free: 12.81 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007193/0.3846, allocations: 273.2 kB / 348.9 MB, free: 12.53 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002064/0.3848, allocations: 85.09 kB / 349 MB, free: 12.43 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.148e-05/0.3849, allocations: 38.56 kB / 349 MB, free: 12.38 MB / 286.1 MB Notification: Performance of pre-optimization done (n=27): time 3.036e-06/0.3849, allocations: 0 / 349 MB, free: 12.38 MB / 286.1 MB Notification: Performance of matching and sorting (n=29): time 0.002614/0.3875, allocations: 1.416 MB / 350.4 MB, free: 10.85 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.999e-05/0.3876, allocations: 81.11 kB / 350.5 MB, free: 10.75 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008208/0.3884, allocations: 0.6529 MB / 351.2 MB, free: 10.09 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.19e-05/0.3885, allocations: 29.7 kB / 351.2 MB, free: 10.06 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005382/0.389, allocations: 0.6837 MB / 351.9 MB, free: 9.363 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.644e-05/0.3891, allocations: 118.4 kB / 352 MB, free: 9.246 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.615e-05/0.3892, allocations: 23.94 kB / 352 MB, free: 9.223 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002015/0.3894, allocations: 386.7 kB / 352.4 MB, free: 8.836 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002886/0.3897, allocations: 145.9 kB / 352.5 MB, free: 8.695 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006396/0.3903, allocations: 0.5468 MB / 353.1 MB, free: 7.953 MB / 286.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.0006556/0.391, allocations: 442.1 kB / 353.5 MB, free: 7.484 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.937e-06/0.391, allocations: 7.953 kB / 353.5 MB, free: 7.477 MB / 286.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001345/0.3923, allocations: 0.798 MB / 354.3 MB, free: 6.668 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.106e-05/0.3924, allocations: 15.95 kB / 354.3 MB, free: 6.652 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.889e-05/0.3924, allocations: 12 kB / 354.3 MB, free: 6.641 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002671/0.3927, allocations: 89.67 kB / 354.4 MB, free: 6.547 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005326/0.3932, allocations: 179.7 kB / 354.6 MB, free: 6.371 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002715/0.396, allocations: 2.998 MB / 357.6 MB, free: 3.102 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000469/0.3964, allocations: 40.11 kB / 357.6 MB, free: 3.062 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.873e-05/0.3965, allocations: 48.06 kB / 357.7 MB, free: 3.016 MB / 286.1 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 4,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005389/0.3971, allocations: 273.4 kB / 358 MB, free: 2.738 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/0.3972, allocations: 71.06 kB / 358 MB, free: 2.668 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001329/0.3973, allocations: 74.41 kB / 358.1 MB, free: 2.59 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.3973, allocations: 7.938 kB / 358.1 MB, free: 2.582 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.3973, allocations: 0 / 358.1 MB, free: 2.582 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.772e-06/0.3974, allocations: 3.953 kB / 358.1 MB, free: 2.578 MB / 286.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001877/0.3992, allocations: 1.351 MB / 359.5 MB, free: 1.133 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.3993, allocations: 0 / 359.5 MB, free: 1.133 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003062/0.3996, allocations: 63.91 kB / 359.5 MB, free: 1.07 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001658/0.3997, allocations: 61.61 kB / 359.6 MB, free: 1.004 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.103e-05/0.3998, allocations: 8 kB / 359.6 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002113/0.4019, allocations: 2.803 MB / 362.4 MB, free: 13.93 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.4019, allocations: 0 / 362.4 MB, free: 13.93 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008852/0.4028, allocations: 0.6824 MB / 363.1 MB, free: 13.2 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001499/0.403, allocations: 144.2 kB / 363.2 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.068e-05/0.403, allocations: 4 kB / 363.2 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002606/0.4033, allocations: 19.98 kB / 363.2 MB, free: 13.02 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.217e-05/0.4034, allocations: 27.97 kB / 363.3 MB, free: 12.99 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.751e-05/0.4034, allocations: 12 kB / 363.3 MB, free: 12.98 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005288/0.4039, allocations: 431 kB / 363.7 MB, free: 12.56 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.4039, allocations: 0 / 363.7 MB, free: 12.56 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009314/0.4049, allocations: 156 kB / 363.9 MB, free: 12.41 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001705/0.4051, allocations: 111.4 kB / 364 MB, free: 12.29 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001095/0.4062, allocations: 0.6556 MB / 364.6 MB, free: 11.61 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.4062, allocations: 1.25 kB / 364.6 MB, free: 11.61 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004621/0.4067, allocations: 373.2 kB / 365 MB, free: 11.22 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003932/0.4071, allocations: 71.25 kB / 365.1 MB, free: 11.15 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003239/0.4103, allocations: 2.314 MB / 367.4 MB, free: 8.801 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005799/0.4109, allocations: 1.062 MB / 368.4 MB, free: 7.711 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002757/0.4112, allocations: 86.02 kB / 368.5 MB, free: 7.625 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.941e-05/0.4113, allocations: 55.42 kB / 368.6 MB, free: 7.57 MB / 302.1 MB Notification: Performance of SimCode: time 7.12e-07/0.4113, allocations: 0 / 368.6 MB, free: 7.57 MB / 302.1 MB Notification: Performance of Templates: time 0.01182/0.4231, allocations: 4.999 MB / 373.6 MB, free: 2.57 MB / 302.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe 2>&1) Environment - environmentSimulation: