Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Electrical.Analog.Examples.GenerationOfFMUs") translateModel(Modelica.Electrical.Analog.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.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.001851/0.001851, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002023/0.002024, allocations: 191.9 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.736/1.736, allocations: 205.1 MB / 222.4 MB, free: 4.582 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.001759/0.001759, allocations: 55.92 kB / 278.7 MB, free: 12.33 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3533/0.355, allocations: 46.63 MB / 325.3 MB, free: 1.867 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.008063/0.3632, allocations: 5.965 MB / 331.3 MB, free: 13.07 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.004323/0.3675, allocations: 1.689 MB / 333 MB, free: 11.66 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008235/0.3684, allocations: 33.81 kB / 333 MB, free: 11.65 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005826/0.369, allocations: 246.9 kB / 333.2 MB, free: 11.43 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006099/0.3696, allocations: 211.8 kB / 333.4 MB, free: 11.24 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00127/0.3709, allocations: 0.5011 MB / 333.9 MB, free: 10.8 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001622/0.3725, allocations: 1.391 MB / 335.3 MB, free: 9.867 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008822/0.3734, allocations: 0.613 MB / 335.9 MB, free: 9.234 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006282/0.3741, allocations: 478.1 kB / 336.4 MB, free: 8.766 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005318/0.3746, allocations: 0.4934 MB / 336.9 MB, free: 8.27 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001566/0.3748, allocations: 120 kB / 337 MB, free: 8.152 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000236/0.375, allocations: 136 kB / 337.2 MB, free: 8.02 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000218/0.3753, allocations: 263 kB / 337.4 MB, free: 7.762 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000489/0.3758, allocations: 0.61 MB / 338 MB, free: 7.148 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001422/0.3772, allocations: 1.566 MB / 339.6 MB, free: 5.578 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.3772, allocations: 0 / 339.6 MB, free: 5.578 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.637e-06/0.3772, allocations: 4 kB / 339.6 MB, free: 5.574 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.831e-05/0.3772, allocations: 0 / 339.6 MB, free: 5.574 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.002141/0.3794, allocations: 1.462 MB / 341.1 MB, free: 4.059 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.3794, allocations: 12.03 kB / 341.1 MB, free: 4.047 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001932/0.3796, allocations: 146.2 kB / 341.2 MB, free: 3.902 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009695/0.3806, allocations: 0.7237 MB / 341.9 MB, free: 3.137 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.985e-05/0.3807, allocations: 86.41 kB / 342 MB, free: 3.051 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001567/0.3809, allocations: 120 kB / 342.1 MB, free: 2.934 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001869/0.3827, allocations: 1.264 MB / 343.4 MB, free: 1.496 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.365e-05/0.3828, allocations: 7.938 kB / 343.4 MB, free: 1.488 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.684e-05/0.3829, allocations: 56 kB / 343.5 MB, free: 1.434 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.365e-05/0.3829, allocations: 35.94 kB / 343.5 MB, free: 1.398 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001223/0.3841, allocations: 0.689 MB / 344.2 MB, free: 0.707 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006294/0.3905, allocations: 6.82 MB / 351 MB, free: 9.551 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007031/0.3912, allocations: 269.2 kB / 351.3 MB, free: 9.27 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003794/0.3916, allocations: 185.7 kB / 351.4 MB, free: 9.082 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002405/0.3918, allocations: 81.11 kB / 351.5 MB, free: 8.984 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.56e-05/0.3919, allocations: 38.56 kB / 351.6 MB, free: 8.938 MB / 286.1 MB Notification: Performance of pre-optimization done (n=27): time 3.496e-06/0.3919, allocations: 4 kB / 351.6 MB, free: 8.934 MB / 286.1 MB Notification: Performance of matching and sorting (n=29): time 0.002616/0.3945, allocations: 1.401 MB / 353 MB, free: 7.422 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.632e-05/0.3946, allocations: 81.11 kB / 353 MB, free: 7.324 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008201/0.3954, allocations: 0.653 MB / 353.7 MB, free: 6.656 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.25e-05/0.3955, allocations: 29.7 kB / 353.7 MB, free: 6.621 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005049/0.396, allocations: 0.6875 MB / 354.4 MB, free: 5.922 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.726e-05/0.3961, allocations: 114.5 kB / 354.5 MB, free: 5.809 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001887/0.3963, allocations: 142.4 kB / 354.7 MB, free: 5.664 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001885/0.3965, allocations: 390.7 kB / 355.1 MB, free: 5.273 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002902/0.3968, allocations: 149.9 kB / 355.2 MB, free: 5.125 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005534/0.3973, allocations: 0.5468 MB / 355.7 MB, free: 4.379 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.001162/0.3985, allocations: 0.9539 MB / 356.7 MB, free: 3.191 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.3985, allocations: 7.938 kB / 356.7 MB, free: 3.184 MB / 286.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001309/0.3999, allocations: 0.7946 MB / 357.5 MB, free: 2.375 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.113e-05/0.3999, allocations: 8.844 kB / 357.5 MB, free: 2.367 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.974e-05/0.3999, allocations: 16 kB / 357.5 MB, free: 2.352 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003147/0.4002, allocations: 85.69 kB / 357.6 MB, free: 2.262 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005708/0.4008, allocations: 183.7 kB / 357.8 MB, free: 2.082 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002785/0.4036, allocations: 3.332 MB / 361.1 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004019/0.404, allocations: 35.98 kB / 361.2 MB, free: 14.44 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.774e-05/0.4041, allocations: 40 kB / 361.2 MB, free: 14.4 MB / 302.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.0004766/0.4046, allocations: 269.5 kB / 361.5 MB, free: 14.13 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/0.4047, allocations: 75.06 kB / 361.5 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001188/0.4048, allocations: 70.42 kB / 361.6 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.4049, allocations: 8.062 kB / 361.6 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-06/0.4049, allocations: 0 / 361.6 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.4049, allocations: 3.984 kB / 361.6 MB, free: 13.97 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001807/0.4067, allocations: 1.251 MB / 362.9 MB, free: 12.65 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.4067, allocations: 4 kB / 362.9 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003081/0.407, allocations: 60.09 kB / 362.9 MB, free: 12.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001664/0.4072, allocations: 61.7 kB / 363 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/0.4072, allocations: 4 kB / 363 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002501/0.4097, allocations: 3.061 MB / 366 MB, free: 9.172 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/0.4098, allocations: 3.938 kB / 366.1 MB, free: 9.168 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001002/0.4108, allocations: 0.6312 MB / 366.7 MB, free: 8.504 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001261/0.4109, allocations: 136.2 kB / 366.8 MB, free: 8.352 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.913e-05/0.411, allocations: 8.062 kB / 366.8 MB, free: 8.344 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002488/0.4112, allocations: 15.98 kB / 366.8 MB, free: 8.328 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.874e-05/0.4113, allocations: 35.84 kB / 366.9 MB, free: 8.293 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.126e-05/0.4113, allocations: 15.98 kB / 366.9 MB, free: 8.277 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005322/0.4119, allocations: 431 kB / 367.3 MB, free: 7.863 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.994e-06/0.4119, allocations: 0 / 367.3 MB, free: 7.863 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009938/0.4129, allocations: 155.9 kB / 367.5 MB, free: 7.711 MB / 302.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.0001763/0.4131, allocations: 115.2 kB / 367.6 MB, free: 7.59 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0012/0.4143, allocations: 0.6589 MB / 368.2 MB, free: 6.906 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.4143, allocations: 1.625 kB / 368.2 MB, free: 6.906 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004797/0.4148, allocations: 361.4 kB / 368.6 MB, free: 6.527 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005546/0.4154, allocations: 79.36 kB / 368.7 MB, free: 6.445 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003342/0.4187, allocations: 1.843 MB / 370.5 MB, free: 4.562 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007513/0.4195, allocations: 1.042 MB / 371.6 MB, free: 3.492 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003114/0.4198, allocations: 86.02 kB / 371.6 MB, free: 3.406 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/0.4199, allocations: 55.42 kB / 371.7 MB, free: 3.352 MB / 302.1 MB Notification: Performance of SimCode: time 1.263e-06/0.4199, allocations: 0 / 371.7 MB, free: 3.352 MB / 302.1 MB Notification: Performance of Templates: time 0.01307/0.433, allocations: 5.402 MB / 377.1 MB, free: 13.94 MB / 318.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe 2>&1)