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.001158/0.001158, allocations: 96.38 kB / 16.3 MB, free: 5.992 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.001252/0.001252, allocations: 186.9 kB / 17.2 MB, free: 5.91 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.744/1.744, allocations: 205.4 MB / 223.4 MB, free: 13.16 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.0004181/0.0004179, allocations: 8 kB / 280.1 MB, free: 3.762 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09072/0.09114, allocations: 47.59 MB / 327.7 MB, free: 4.105 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.005975/0.09716, allocations: 4.904 MB / 332.6 MB, free: 15.18 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003564/0.1008, allocations: 1.653 MB / 334.2 MB, free: 13.52 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001261/0.1021, allocations: 31.81 kB / 334.3 MB, free: 13.48 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005709/0.1026, allocations: 126.9 kB / 334.4 MB, free: 13.36 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001671/0.1043, allocations: 259.2 kB / 334.7 MB, free: 13.11 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001488/0.1058, allocations: 335.6 kB / 335 MB, free: 12.78 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002252/0.1081, allocations: 0.8855 MB / 335.9 MB, free: 11.89 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001103/0.1092, allocations: 457.9 kB / 336.3 MB, free: 11.43 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007699/0.11, allocations: 354.4 kB / 336.7 MB, free: 11.08 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007147/0.1108, allocations: 397.7 kB / 337 MB, free: 10.69 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002326/0.111, allocations: 48 kB / 337.1 MB, free: 10.64 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000313/0.1113, allocations: 56 kB / 337.2 MB, free: 10.59 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001769/0.1115, allocations: 175.2 kB / 337.3 MB, free: 10.41 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003001/0.1118, allocations: 241 kB / 337.6 MB, free: 10.17 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001304/0.1131, allocations: 1.161 MB / 338.7 MB, free: 9.008 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1132, allocations: 4 kB / 338.7 MB, free: 9.004 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.063e-06/0.1132, allocations: 0 / 338.7 MB, free: 9.004 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.359e-05/0.1133, allocations: 0 / 338.7 MB, free: 9.004 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.00234/0.1156, allocations: 1.24 MB / 340 MB, free: 7.711 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.1157, allocations: 8.031 kB / 340 MB, free: 7.703 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002037/0.1159, allocations: 138.3 kB / 340.1 MB, free: 7.566 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000975/0.1169, allocations: 0.6931 MB / 340.8 MB, free: 6.832 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.241e-05/0.1169, allocations: 94.36 kB / 340.9 MB, free: 6.738 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001496/0.1171, allocations: 123.9 kB / 341 MB, free: 6.617 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002019/0.1191, allocations: 1.244 MB / 342.3 MB, free: 5.203 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.581e-05/0.1192, allocations: 15.86 kB / 342.3 MB, free: 5.188 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001117/0.1193, allocations: 59.98 kB / 342.3 MB, free: 5.129 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.152e-05/0.1193, allocations: 32 kB / 342.4 MB, free: 5.098 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001308/0.1206, allocations: 0.6851 MB / 343 MB, free: 4.41 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006266/0.1269, allocations: 6.832 MB / 349.9 MB, free: 13.24 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006868/0.1276, allocations: 277.3 kB / 350.1 MB, free: 12.95 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001917/0.1278, allocations: 81.11 kB / 350.2 MB, free: 12.85 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.734e-05/0.1279, allocations: 42.5 kB / 350.3 MB, free: 12.8 MB / 302.1 MB Notification: Performance of pre-optimization done (n=27): time 3.426e-06/0.1279, allocations: 0 / 350.3 MB, free: 12.8 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.002959/0.1309, allocations: 1.42 MB / 351.7 MB, free: 11.27 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.251e-05/0.1309, allocations: 81.11 kB / 351.8 MB, free: 11.18 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008449/0.1318, allocations: 0.6568 MB / 352.4 MB, free: 10.51 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.018e-05/0.1318, allocations: 29.7 kB / 352.5 MB, free: 10.48 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004304/0.1323, allocations: 0.6759 MB / 353.1 MB, free: 9.789 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/0.1324, allocations: 126.4 kB / 353.3 MB, free: 9.664 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.568e-05/0.1324, allocations: 16 kB / 353.3 MB, free: 9.648 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.1326, allocations: 386.8 kB / 353.6 MB, free: 9.262 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002629/0.1329, allocations: 145.9 kB / 353.8 MB, free: 9.121 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000516/0.1334, allocations: 0.5429 MB / 354.3 MB, free: 8.383 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.0006079/0.134, allocations: 434 kB / 354.8 MB, free: 7.922 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.667e-06/0.134, allocations: 11.95 kB / 354.8 MB, free: 7.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001278/0.1353, allocations: 0.7987 MB / 355.6 MB, free: 7.102 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.846e-05/0.1353, allocations: 19.98 kB / 355.6 MB, free: 7.082 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.265e-05/0.1354, allocations: 12 kB / 355.6 MB, free: 7.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002729/0.1356, allocations: 81.69 kB / 355.7 MB, free: 6.984 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005606/0.1362, allocations: 187.7 kB / 355.9 MB, free: 6.801 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00286/0.1391, allocations: 3.001 MB / 358.9 MB, free: 3.527 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004907/0.1396, allocations: 32 kB / 358.9 MB, free: 3.496 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.596e-05/0.1397, allocations: 40 kB / 358.9 MB, free: 3.457 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.0006003/0.1403, allocations: 273.5 kB / 359.2 MB, free: 3.18 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001774/0.1405, allocations: 75.06 kB / 359.3 MB, free: 3.105 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001601/0.1406, allocations: 74.41 kB / 359.3 MB, free: 3.027 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.1407, allocations: 4 kB / 359.4 MB, free: 3.023 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.065e-05/0.1407, allocations: 0 / 359.4 MB, free: 3.023 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/0.1407, allocations: 7.938 kB / 359.4 MB, free: 3.016 MB / 302.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.002251/0.1429, allocations: 1.351 MB / 360.7 MB, free: 1.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.143, allocations: 0 / 360.7 MB, free: 1.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003056/0.1433, allocations: 75.95 kB / 360.8 MB, free: 1.496 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001852/0.1435, allocations: 49.69 kB / 360.8 MB, free: 1.441 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.949e-05/0.1435, allocations: 8 kB / 360.8 MB, free: 1.434 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002105/0.1456, allocations: 2.803 MB / 363.6 MB, free: 14.37 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.1456, allocations: 0 / 363.6 MB, free: 14.37 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009257/0.1466, allocations: 0.6784 MB / 364.3 MB, free: 13.64 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001916/0.1468, allocations: 144.1 kB / 364.5 MB, free: 13.48 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.303e-05/0.1468, allocations: 8.047 kB / 364.5 MB, free: 13.48 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002646/0.1471, allocations: 16 kB / 364.5 MB, free: 13.46 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.278e-05/0.1472, allocations: 36.36 kB / 364.5 MB, free: 13.43 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.022e-05/0.1472, allocations: 12 kB / 364.5 MB, free: 13.41 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006114/0.1479, allocations: 431 kB / 365 MB, free: 13 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1479, allocations: 0 / 365 MB, free: 13 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001067/0.1489, allocations: 156 kB / 365.1 MB, free: 12.84 MB / 318.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.0001834/0.1491, allocations: 123.1 kB / 365.2 MB, free: 12.71 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001227/0.1504, allocations: 0.6482 MB / 365.9 MB, free: 12.04 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.1504, allocations: 0 / 365.9 MB, free: 12.04 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005241/0.1509, allocations: 374 kB / 366.2 MB, free: 11.65 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004272/0.1513, allocations: 75.19 kB / 366.3 MB, free: 11.58 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003635/0.155, allocations: 2.31 MB / 368.6 MB, free: 9.23 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007995/0.1558, allocations: 1.058 MB / 369.7 MB, free: 8.145 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003297/0.1562, allocations: 94 kB / 369.8 MB, free: 8.051 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001219/0.1563, allocations: 55.42 kB / 369.8 MB, free: 7.996 MB / 318.1 MB Notification: Performance of SimCode: time 1.072e-06/0.1563, allocations: 0 / 369.8 MB, free: 7.996 MB / 318.1 MB Notification: Performance of Templates: time 0.01287/0.1692, allocations: 4.999 MB / 374.8 MB, free: 3 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: