Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Electrical.Analog.Examples.GenerationOfFMUs") translateModel(Modelica.Electrical.Analog.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001383/0.001388, allocations: 111.5 kB / 17.06 MB, free: 5.973 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.001906/0.001906, allocations: 200 kB / 18.01 MB, free: 5.055 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.599/1.599, allocations: 205.1 MB / 223.9 MB, free: 12.28 MB / 190.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.001352/0.001353, allocations: 51.92 kB / 327.9 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1091, allocations: 46.62 MB / 374.5 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.2698/0.379, allocations: 5.946 MB / 380.4 MB, free: 9.703 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005075/0.3841, allocations: 1.698 MB / 382.1 MB, free: 9.516 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00202/0.3862, allocations: 29.88 kB / 382.2 MB, free: 9.508 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001186/0.3875, allocations: 244.7 kB / 382.4 MB, free: 9.371 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001656/0.3892, allocations: 219.5 kB / 382.6 MB, free: 9.246 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002089/0.3913, allocations: 0.5036 MB / 383.1 MB, free: 9.176 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00303/0.3943, allocations: 1.402 MB / 384.5 MB, free: 8.461 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001113/0.3955, allocations: 0.625 MB / 385.2 MB, free: 8.172 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008592/0.3964, allocations: 476.8 kB / 385.6 MB, free: 7.922 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005826/0.3969, allocations: 0.4911 MB / 386.1 MB, free: 7.629 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002165/0.3972, allocations: 121.8 kB / 386.2 MB, free: 7.629 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002977/0.3975, allocations: 135.7 kB / 386.4 MB, free: 7.625 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000228/0.3977, allocations: 270.5 kB / 386.6 MB, free: 7.434 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005934/0.3983, allocations: 0.6068 MB / 387.2 MB, free: 7.016 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002327/0.4006, allocations: 1.625 MB / 388.9 MB, free: 6.379 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.4007, allocations: 0 / 388.9 MB, free: 6.379 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.4007, allocations: 2 kB / 388.9 MB, free: 6.379 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.923e-05/0.4007, allocations: 0 / 388.9 MB, free: 6.379 MB / 318.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.00261/0.4033, allocations: 1.456 MB / 390.3 MB, free: 5.418 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.816e-05/0.4034, allocations: 9.062 kB / 390.3 MB, free: 5.418 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002431/0.4036, allocations: 143.4 kB / 390.5 MB, free: 5.344 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00132/0.405, allocations: 0.7552 MB / 391.2 MB, free: 4.863 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.895e-05/0.4051, allocations: 90.81 kB / 391.3 MB, free: 4.82 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002129/0.4053, allocations: 118.5 kB / 391.4 MB, free: 4.781 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002319/0.4076, allocations: 1.269 MB / 392.7 MB, free: 3.957 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.275e-05/0.4077, allocations: 11.75 kB / 392.7 MB, free: 3.949 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001023/0.4078, allocations: 49.91 kB / 392.8 MB, free: 3.914 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.474e-05/0.4078, allocations: 35.81 kB / 392.8 MB, free: 3.91 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001496/0.4093, allocations: 0.6887 MB / 393.5 MB, free: 3.652 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008218/0.4176, allocations: 6.768 MB / 400.2 MB, free: 13.99 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008293/0.4185, allocations: 270.8 kB / 400.5 MB, free: 13.86 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004313/0.4189, allocations: 186.1 kB / 400.7 MB, free: 13.78 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002356/0.4192, allocations: 92.11 kB / 400.8 MB, free: 13.68 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.856e-05/0.4192, allocations: 32.56 kB / 400.8 MB, free: 13.64 MB / 334.1 MB Notification: Performance of pre-optimization done (n=27): time 3.437e-06/0.4192, allocations: 1.406 kB / 400.8 MB, free: 13.64 MB / 334.1 MB Notification: Performance of matching and sorting (n=29): time 0.003466/0.4227, allocations: 1.398 MB / 402.2 MB, free: 12.6 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001328/0.4228, allocations: 79.02 kB / 402.3 MB, free: 12.51 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001361/0.4242, allocations: 0.6648 MB / 403 MB, free: 12.21 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.068e-05/0.4242, allocations: 31.55 kB / 403 MB, free: 12.17 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008372/0.4251, allocations: 0.678 MB / 403.7 MB, free: 11.64 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001155/0.4252, allocations: 122.6 kB / 403.8 MB, free: 11.55 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003285/0.4256, allocations: 147.8 kB / 403.9 MB, free: 11.46 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002228/0.4258, allocations: 382.5 kB / 404.3 MB, free: 11.12 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003553/0.4261, allocations: 152.5 kB / 404.5 MB, free: 11.06 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008454/0.427, allocations: 0.5526 MB / 405 MB, free: 10.45 MB / 334.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.002098/0.4291, allocations: 0.9488 MB / 406 MB, free: 9.516 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.093e-05/0.4291, allocations: 4.125 kB / 406 MB, free: 9.516 MB / 334.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001963/0.4311, allocations: 0.7974 MB / 406.8 MB, free: 9.156 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.487e-05/0.4312, allocations: 10.62 kB / 406.8 MB, free: 9.156 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.515e-05/0.4312, allocations: 14.62 kB / 406.8 MB, free: 9.156 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004065/0.4316, allocations: 78.98 kB / 406.9 MB, free: 9.129 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007518/0.4324, allocations: 189.7 kB / 407 MB, free: 9.102 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004103/0.4365, allocations: 3.317 MB / 410.4 MB, free: 5.777 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006037/0.4371, allocations: 33.61 kB / 410.4 MB, free: 5.762 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.199e-05/0.4372, allocations: 44.03 kB / 410.4 MB, free: 5.754 MB / 334.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.000795/0.438, allocations: 277.2 kB / 410.7 MB, free: 5.531 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002289/0.4383, allocations: 77.88 kB / 410.8 MB, free: 5.488 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002012/0.4385, allocations: 71.69 kB / 410.9 MB, free: 5.438 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.4385, allocations: 3.25 kB / 410.9 MB, free: 5.438 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.351e-05/0.4385, allocations: 2.156 kB / 410.9 MB, free: 5.438 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.774e-06/0.4385, allocations: 1.094 kB / 410.9 MB, free: 5.438 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003434/0.442, allocations: 1.259 MB / 412.1 MB, free: 4.488 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.285e-06/0.442, allocations: 1.156 kB / 412.1 MB, free: 4.488 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003643/0.4424, allocations: 70.48 kB / 412.2 MB, free: 4.469 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002178/0.4426, allocations: 51.47 kB / 412.2 MB, free: 4.438 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.878e-05/0.4426, allocations: 6.375 kB / 412.2 MB, free: 4.434 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00355/0.4462, allocations: 3.056 MB / 415.3 MB, free: 1.305 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.4462, allocations: 1.219 kB / 415.3 MB, free: 1.305 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001256/0.4475, allocations: 0.6396 MB / 415.9 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002954/0.4478, allocations: 138.4 kB / 416.1 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001051/0.4479, allocations: 12.08 kB / 416.1 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003478/0.4483, allocations: 12.75 kB / 416.1 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001598/0.4484, allocations: 29.8 kB / 416.1 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.578e-05/0.4485, allocations: 7.875 kB / 416.1 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008646/0.4493, allocations: 438.6 kB / 416.6 MB, free: 428 kB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4494, allocations: 0 / 416.6 MB, free: 428 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.001684/0.451, allocations: 155 kB / 416.7 MB, free: 412 kB / 334.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.0002254/0.4513, allocations: 110.6 kB / 416.8 MB, free: 312 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001545/0.4528, allocations: 0.6557 MB / 417.5 MB, free: 15.88 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.102e-05/0.4529, allocations: 0 / 417.5 MB, free: 15.88 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006072/0.4535, allocations: 363.7 kB / 417.8 MB, free: 15.58 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007937/0.4543, allocations: 82.61 kB / 417.9 MB, free: 15.54 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00459/0.4589, allocations: 1.817 MB / 419.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001115/0.46, allocations: 1.038 MB / 420.8 MB, free: 13.49 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003622/0.4604, allocations: 82.41 kB / 420.9 MB, free: 13.45 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001463/0.4606, allocations: 59.73 kB / 420.9 MB, free: 13.43 MB / 350.1 MB Notification: Performance of SimCode: time 9.22e-07/0.4606, allocations: 0 / 420.9 MB, free: 13.43 MB / 350.1 MB Notification: Performance of Templates: time 0.01552/0.4761, allocations: 5.58 MB / 426.5 MB, free: 9.543 MB / 350.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.pipe 2>&1)