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.001081/0.001082, allocations: 88.45 kB / 16.31 MB, free: 5.676 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.001119/0.001119, allocations: 180.6 kB / 17.21 MB, free: 5.594 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.824/1.824, allocations: 205.4 MB / 223.4 MB, free: 13.03 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.0006816/0.0006816, allocations: 8 kB / 280.1 MB, free: 3.715 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1429, allocations: 47.58 MB / 327.7 MB, free: 4.062 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.006315/0.1493, allocations: 5.125 MB / 332.9 MB, free: 14.91 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004383/0.1537, allocations: 1.595 MB / 334.4 MB, free: 13.31 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00137/0.1551, allocations: 31.81 kB / 334.5 MB, free: 13.28 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006954/0.1558, allocations: 170.5 kB / 334.6 MB, free: 13.11 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008479/0.1567, allocations: 178.4 kB / 334.8 MB, free: 12.93 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001241/0.1579, allocations: 327.6 kB / 335.1 MB, free: 12.61 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002144/0.1601, allocations: 1.231 MB / 336.4 MB, free: 11.38 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001042/0.1612, allocations: 461.9 kB / 336.8 MB, free: 10.91 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006739/0.1618, allocations: 354.4 kB / 337.2 MB, free: 10.56 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007562/0.1626, allocations: 393.7 kB / 337.5 MB, free: 10.18 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002117/0.1628, allocations: 51.94 kB / 337.6 MB, free: 10.12 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000331/0.1632, allocations: 60 kB / 337.7 MB, free: 10.07 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000204/0.1634, allocations: 183.2 kB / 337.8 MB, free: 9.887 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003536/0.1638, allocations: 245 kB / 338.1 MB, free: 9.641 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001286/0.1651, allocations: 1.153 MB / 339.2 MB, free: 8.484 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.1651, allocations: 0 / 339.2 MB, free: 8.484 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.245e-06/0.1651, allocations: 0 / 339.2 MB, free: 8.484 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.043e-05/0.1652, allocations: 0 / 339.2 MB, free: 8.484 MB / 286.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.002418/0.1676, allocations: 1.244 MB / 340.5 MB, free: 7.188 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.641e-05/0.1677, allocations: 8.031 kB / 340.5 MB, free: 7.18 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002113/0.1679, allocations: 146.3 kB / 340.6 MB, free: 7.035 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000963/0.1688, allocations: 0.6892 MB / 341.3 MB, free: 6.305 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.347e-05/0.1689, allocations: 90.36 kB / 341.4 MB, free: 6.215 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001485/0.1691, allocations: 123.8 kB / 341.5 MB, free: 6.094 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002076/0.1712, allocations: 1.256 MB / 342.8 MB, free: 4.668 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.508e-05/0.1712, allocations: 11.92 kB / 342.8 MB, free: 4.656 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001051/0.1713, allocations: 56 kB / 342.8 MB, free: 4.602 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.292e-05/0.1714, allocations: 32 kB / 342.9 MB, free: 4.57 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001342/0.1727, allocations: 0.6812 MB / 343.6 MB, free: 3.887 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007108/0.1799, allocations: 6.836 MB / 350.4 MB, free: 12.71 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007549/0.1807, allocations: 277.2 kB / 350.7 MB, free: 12.42 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003714/0.181, allocations: 189.5 kB / 350.9 MB, free: 12.23 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002145/0.1813, allocations: 81.11 kB / 350.9 MB, free: 12.13 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.055e-05/0.1813, allocations: 34.56 kB / 351 MB, free: 12.09 MB / 302.1 MB Notification: Performance of pre-optimization done (n=27): time 3.005e-06/0.1813, allocations: 0 / 351 MB, free: 12.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.003009/0.1843, allocations: 1.405 MB / 352.4 MB, free: 10.57 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.114e-05/0.1844, allocations: 85.05 kB / 352.5 MB, free: 10.47 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009145/0.1854, allocations: 0.6529 MB / 353.1 MB, free: 9.812 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.481e-05/0.1854, allocations: 29.7 kB / 353.1 MB, free: 9.777 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006323/0.1861, allocations: 0.6837 MB / 353.8 MB, free: 9.082 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001124/0.1862, allocations: 122.4 kB / 353.9 MB, free: 8.961 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.222e-05/0.1862, allocations: 16 kB / 354 MB, free: 8.945 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002559/0.1865, allocations: 386.8 kB / 354.3 MB, free: 8.559 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003029/0.1868, allocations: 145.9 kB / 354.5 MB, free: 8.418 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006539/0.1875, allocations: 0.5468 MB / 355 MB, free: 7.676 MB / 302.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.0006995/0.1882, allocations: 441.8 kB / 355.5 MB, free: 7.207 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.76e-06/0.1882, allocations: 4 kB / 355.5 MB, free: 7.203 MB / 302.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001204/0.1894, allocations: 0.7947 MB / 356.2 MB, free: 6.398 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.112e-05/0.1894, allocations: 16.16 kB / 356.3 MB, free: 6.383 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.956e-05/0.1895, allocations: 12 kB / 356.3 MB, free: 6.371 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002517/0.1897, allocations: 89.89 kB / 356.4 MB, free: 6.277 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005483/0.1903, allocations: 183.7 kB / 356.5 MB, free: 6.098 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002608/0.1929, allocations: 2.981 MB / 359.5 MB, free: 2.844 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004014/0.1933, allocations: 32 kB / 359.6 MB, free: 2.812 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-05/0.1934, allocations: 44 kB / 359.6 MB, free: 2.77 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 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.0005299/0.1939, allocations: 269.7 kB / 359.9 MB, free: 2.496 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001286/0.194, allocations: 75.06 kB / 359.9 MB, free: 2.422 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001344/0.1942, allocations: 78.39 kB / 360 MB, free: 2.34 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.1942, allocations: 4 kB / 360 MB, free: 2.336 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.36e-05/0.1942, allocations: 3.953 kB / 360 MB, free: 2.332 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.1942, allocations: 0 / 360 MB, free: 2.332 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0018/0.196, allocations: 1.263 MB / 361.3 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.501e-05/0.1961, allocations: 4 kB / 361.3 MB, free: 0.9922 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003015/0.1964, allocations: 63.95 kB / 361.3 MB, free: 0.9297 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001558/0.1965, allocations: 61.62 kB / 361.4 MB, free: 0.8633 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.272e-05/0.1966, allocations: 4 kB / 361.4 MB, free: 0.8594 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002068/0.1986, allocations: 2.779 MB / 364.2 MB, free: 13.82 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.1987, allocations: 7.969 kB / 364.2 MB, free: 13.81 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008635/0.1995, allocations: 0.6467 MB / 364.8 MB, free: 13.13 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001338/0.1997, allocations: 144.2 kB / 365 MB, free: 12.97 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.921e-05/0.1997, allocations: 4 kB / 365 MB, free: 12.97 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002409/0.2, allocations: 19.98 kB / 365 MB, free: 12.95 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.003e-05/0.2001, allocations: 27.92 kB / 365 MB, free: 12.92 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.17e-05/0.2001, allocations: 8 kB / 365 MB, free: 12.91 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005442/0.2007, allocations: 439 kB / 365.5 MB, free: 12.49 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2007, allocations: 0 / 365.5 MB, free: 12.49 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009623/0.2016, allocations: 156 kB / 365.6 MB, free: 12.34 MB / 318.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 (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.0001872/0.2018, allocations: 116.6 kB / 365.7 MB, free: 12.21 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001161/0.203, allocations: 0.6677 MB / 366.4 MB, free: 11.52 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.203, allocations: 0 / 366.4 MB, free: 11.52 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004712/0.2035, allocations: 358.2 kB / 366.8 MB, free: 11.14 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005344/0.204, allocations: 75.3 kB / 366.8 MB, free: 11.07 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003204/0.2072, allocations: 2.322 MB / 369.2 MB, free: 8.711 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007731/0.208, allocations: 1.038 MB / 370.2 MB, free: 7.645 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003182/0.2084, allocations: 82.03 kB / 370.3 MB, free: 7.562 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001341/0.2085, allocations: 63.41 kB / 370.3 MB, free: 7.5 MB / 318.1 MB Notification: Performance of SimCode: time 8.32e-07/0.2085, allocations: 0 / 370.3 MB, free: 7.5 MB / 318.1 MB Notification: Performance of Templates: time 0.01126/0.2198, allocations: 5.013 MB / 375.3 MB, free: 2.492 MB / 318.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)