Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.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.CauerLowPassOPV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassOPV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassOPV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001286/0.001285, allocations: 106.4 kB / 17.06 MB, free: 6.027 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.001694/0.001694, allocations: 195 kB / 18 MB, free: 5.105 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.821/1.821, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.001257/0.001257, allocations: 55.92 kB / 327.9 MB, free: 3.246 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.103, allocations: 46.61 MB / 374.5 MB, free: 4.531 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassOPV): time 0.2765/0.3795, allocations: 5.702 MB / 380.2 MB, free: 9.691 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003936/0.3835, allocations: 1.203 MB / 381.4 MB, free: 9.605 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008083/0.3844, allocations: 17.88 kB / 381.5 MB, free: 9.605 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005727/0.385, allocations: 170.3 kB / 381.6 MB, free: 9.516 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000893/0.3859, allocations: 278.6 kB / 381.9 MB, free: 9.375 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008829/0.3868, allocations: 221.2 kB / 382.1 MB, free: 9.375 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002126/0.3889, allocations: 1.071 MB / 383.2 MB, free: 9.086 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001304/0.3903, allocations: 0.5133 MB / 383.7 MB, free: 8.887 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001023/0.3913, allocations: 413.2 kB / 384.1 MB, free: 8.699 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008546/0.3922, allocations: 477.6 kB / 384.6 MB, free: 8.457 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002014/0.3924, allocations: 97.72 kB / 384.7 MB, free: 8.457 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002398/0.3926, allocations: 98.16 kB / 384.8 MB, free: 8.457 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002293/0.3929, allocations: 222.1 kB / 385 MB, free: 8.309 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005614/0.3934, allocations: 0.4997 MB / 385.5 MB, free: 8.012 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001423/0.3949, allocations: 1.106 MB / 386.6 MB, free: 7.605 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.3949, allocations: 0 / 386.6 MB, free: 7.605 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.494e-06/0.3949, allocations: 3.938 kB / 386.6 MB, free: 7.602 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.574e-05/0.3949, allocations: 1.125 kB / 386.6 MB, free: 7.602 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.002189/0.3971, allocations: 1.239 MB / 387.8 MB, free: 6.793 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.464e-05/0.3972, allocations: 10.02 kB / 387.8 MB, free: 6.793 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001796/0.3974, allocations: 101 kB / 387.9 MB, free: 6.746 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007236/0.3981, allocations: 459 kB / 388.4 MB, free: 6.395 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.864e-05/0.3982, allocations: 71.84 kB / 388.4 MB, free: 6.363 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001419/0.3983, allocations: 95.02 kB / 388.5 MB, free: 6.332 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001456/0.3998, allocations: 0.869 MB / 389.4 MB, free: 5.938 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.333e-05/0.3998, allocations: 1.094 kB / 389.4 MB, free: 5.938 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.158e-05/0.3999, allocations: 47.22 kB / 389.5 MB, free: 5.902 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.622e-05/0.3999, allocations: 23.25 kB / 389.5 MB, free: 5.902 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001001/0.4009, allocations: 0.5709 MB / 390 MB, free: 5.699 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004116/0.4051, allocations: 2.94 MB / 393 MB, free: 3.941 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004306/0.4055, allocations: 307.2 kB / 393.3 MB, free: 3.805 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000367/0.4059, allocations: 270.5 kB / 393.6 MB, free: 3.703 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.693e-05/0.4059, allocations: 4.906 kB / 393.6 MB, free: 3.703 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/0.406, allocations: 42.27 kB / 393.6 MB, free: 3.656 MB / 318.1 MB Notification: Performance of pre-optimization done (n=42): time 2.265e-06/0.406, allocations: 0 / 393.6 MB, free: 3.656 MB / 318.1 MB Notification: Performance of matching and sorting (n=42): time 0.001475/0.4074, allocations: 0.6468 MB / 394.2 MB, free: 3.336 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.848e-05/0.4075, allocations: 60.39 kB / 394.3 MB, free: 3.27 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006258/0.4081, allocations: 0.5105 MB / 394.8 MB, free: 3.02 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.125e-05/0.4082, allocations: 36.98 kB / 394.8 MB, free: 2.98 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002445/0.4084, allocations: 494.4 kB / 395.3 MB, free: 2.594 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.663e-05/0.4085, allocations: 157.9 kB / 395.5 MB, free: 2.477 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001842/0.4087, allocations: 133.5 kB / 395.6 MB, free: 2.402 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.4088, allocations: 365.3 kB / 396 MB, free: 2.066 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002824/0.4091, allocations: 171 kB / 396.1 MB, free: 2.004 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004235/0.4095, allocations: 455.1 kB / 396.6 MB, free: 1.574 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007453/0.4103, allocations: 0.6461 MB / 397.2 MB, free: 1.027 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.848e-06/0.4103, allocations: 7.562 kB / 397.2 MB, free: 1.023 MB / 318.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001183/0.4115, allocations: 0.7584 MB / 398 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.746e-05/0.4116, allocations: 12.66 kB / 398 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.961e-05/0.4116, allocations: 9.797 kB / 398 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000315/0.4119, allocations: 82.56 kB / 398.1 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006929/0.4126, allocations: 198.4 kB / 398.3 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001835/0.4144, allocations: 1.998 MB / 400.3 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005739/0.415, allocations: 89.94 kB / 400.4 MB, free: 14.8 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.569e-05/0.4151, allocations: 38.27 kB / 400.4 MB, free: 14.79 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (89): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003113/0.4154, allocations: 215.5 kB / 400.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.376e-05/0.4155, allocations: 58.11 kB / 400.7 MB, free: 14.58 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.782e-05/0.4156, allocations: 66.22 kB / 400.7 MB, free: 14.54 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.4156, allocations: 4.125 kB / 400.8 MB, free: 14.54 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/0.4156, allocations: 5.828 kB / 400.8 MB, free: 14.53 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.4156, allocations: 3.203 kB / 400.8 MB, free: 14.53 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008558/0.4165, allocations: 0.6445 MB / 401.4 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.4165, allocations: 0 / 401.4 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004154/0.4169, allocations: 101.3 kB / 401.5 MB, free: 14.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002059/0.4172, allocations: 82.83 kB / 401.6 MB, free: 14.12 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.455e-05/0.4172, allocations: 6.469 kB / 401.6 MB, free: 14.12 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001842/0.419, allocations: 1.976 MB / 403.6 MB, free: 12.35 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.4191, allocations: 1.25 kB / 403.6 MB, free: 12.35 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009584/0.42, allocations: 0.6606 MB / 404.2 MB, free: 11.99 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001472/0.4202, allocations: 137.7 kB / 404.4 MB, free: 11.85 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.906e-05/0.4202, allocations: 7.625 kB / 404.4 MB, free: 11.85 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003984/0.4206, allocations: 48.44 kB / 404.4 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.918e-05/0.4207, allocations: 32.98 kB / 404.5 MB, free: 11.83 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.692e-05/0.4208, allocations: 9.969 kB / 404.5 MB, free: 11.83 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000445/0.4212, allocations: 352.9 kB / 404.8 MB, free: 11.66 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4212, allocations: 0 / 404.8 MB, free: 11.66 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009553/0.4222, allocations: 241.2 kB / 405 MB, free: 11.61 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C1.v,C2.v,C3.v,C4.v,C7.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 (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001936/0.4224, allocations: 108.5 kB / 405.1 MB, free: 11.51 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001094/0.4235, allocations: 0.6037 MB / 405.8 MB, free: 11.22 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.4235, allocations: 1.062 kB / 405.8 MB, free: 11.22 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004678/0.424, allocations: 312.6 kB / 406.1 MB, free: 11.04 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005926/0.4246, allocations: 125.1 kB / 406.2 MB, free: 10.99 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002376/0.427, allocations: 1.386 MB / 407.6 MB, free: 10.17 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005328/0.4275, allocations: 0.9387 MB / 408.5 MB, free: 9.391 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000314/0.4278, allocations: 68.7 kB / 408.6 MB, free: 9.352 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.804e-05/0.428, allocations: 40.69 kB / 408.6 MB, free: 9.344 MB / 334.1 MB Notification: Performance of SimCode: time 4.71e-07/0.428, allocations: 0 / 408.6 MB, free: 9.344 MB / 334.1 MB Notification: Performance of Templates: time 0.01618/0.4441, allocations: 7.42 MB / 416 MB, free: 4.746 MB / 334.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassOPV -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CauerLowPassOPV.pipe 2>&1)