Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.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.DifferenceAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C5.v|Transistor1.Tr.C.v|Transistor1.ct.v|Transistor2.Tr.C.v|Transistor2.ct.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier") translateModel(Modelica.Electrical.Analog.Examples.DifferenceAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C2.v|C3.v|C4.v|C5.v|Transistor1.Tr.C.v|Transistor1.ct.v|Transistor2.Tr.C.v|Transistor2.ct.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001605/0.001605, allocations: 98.3 kB / 18.4 MB, free: 4.66 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.001848/0.001848, allocations: 188.3 kB / 19.34 MB, free: 3.734 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.332/1.332, allocations: 205.1 MB / 225.2 MB, free: 12.26 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.001191/0.001191, allocations: 56.34 kB / 329.2 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08995/0.09115, allocations: 46.62 MB / 375.8 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.1641/0.2553, allocations: 5.701 MB / 381.5 MB, free: 9.727 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002658/0.258, allocations: 1.442 MB / 383 MB, free: 9.625 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007472/0.2587, allocations: 19.06 kB / 383 MB, free: 9.621 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005022/0.2593, allocations: 156 kB / 383.2 MB, free: 9.535 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008119/0.2601, allocations: 272.3 kB / 383.4 MB, free: 9.398 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009447/0.2611, allocations: 356.9 kB / 383.8 MB, free: 9.387 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001638/0.2627, allocations: 1.238 MB / 385 MB, free: 8.945 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005595/0.2633, allocations: 427.6 kB / 385.4 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005964/0.2639, allocations: 458.4 kB / 385.9 MB, free: 8.531 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005369/0.2644, allocations: 0.5226 MB / 386.4 MB, free: 8.27 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001533/0.2646, allocations: 127.6 kB / 386.5 MB, free: 8.266 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002706/0.2649, allocations: 159.8 kB / 386.7 MB, free: 8.258 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001629/0.2651, allocations: 251.9 kB / 386.9 MB, free: 8.086 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004058/0.2655, allocations: 0.5397 MB / 387.5 MB, free: 7.75 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001213/0.2667, allocations: 1.407 MB / 388.9 MB, free: 7.234 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.2667, allocations: 0 / 388.9 MB, free: 7.234 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.2667, allocations: 1.375 kB / 388.9 MB, free: 7.234 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.237e-05/0.2667, allocations: 0 / 388.9 MB, free: 7.234 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002195/0.2689, allocations: 1.293 MB / 390.2 MB, free: 6.406 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.269, allocations: 8.688 kB / 390.2 MB, free: 6.406 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001579/0.2691, allocations: 104.6 kB / 390.3 MB, free: 6.355 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005967/0.2697, allocations: 0.5139 MB / 390.8 MB, free: 5.953 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.635e-05/0.2698, allocations: 58.28 kB / 390.8 MB, free: 5.926 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001158/0.2699, allocations: 81.41 kB / 390.9 MB, free: 5.898 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00143/0.2713, allocations: 0.877 MB / 391.8 MB, free: 5.527 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.2714, allocations: 5.094 kB / 391.8 MB, free: 5.523 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.266e-05/0.2715, allocations: 31.12 kB / 391.8 MB, free: 5.5 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.703e-05/0.2715, allocations: 28.91 kB / 391.9 MB, free: 5.492 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001459/0.2729, allocations: 0.7802 MB / 392.6 MB, free: 5.219 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004312/0.2773, allocations: 3.029 MB / 395.7 MB, free: 3.488 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/0.2783, allocations: 0.6507 MB / 396.3 MB, free: 3.176 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006517/0.2789, allocations: 412.6 kB / 396.7 MB, free: 3.008 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.122e-05/0.279, allocations: 10.2 kB / 396.7 MB, free: 3.008 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.001e-05/0.279, allocations: 39.19 kB / 396.8 MB, free: 2.965 MB / 318.1 MB Notification: Performance of pre-optimization done (n=67): time 2.375e-06/0.2791, allocations: 0 / 396.8 MB, free: 2.965 MB / 318.1 MB Notification: Performance of matching and sorting (n=71): time 0.004032/0.2831, allocations: 2.191 MB / 399 MB, free: 1.828 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.024e-05/0.2831, allocations: 64.2 kB / 399 MB, free: 1.762 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005557/0.2837, allocations: 0.503 MB / 399.5 MB, free: 1.523 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.696e-05/0.2837, allocations: 36.45 kB / 399.6 MB, free: 1.484 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001564/0.2839, allocations: 396.2 kB / 400 MB, free: 1.168 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001231/0.284, allocations: 259.6 kB / 400.2 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002052/0.2842, allocations: 133.7 kB / 400.3 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.198e-05/0.2843, allocations: 380 kB / 400.7 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005842/0.2849, allocations: 307.5 kB / 401 MB, free: 448 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006112/0.2855, allocations: 424.8 kB / 401.4 MB, free: 204 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00143/0.287, allocations: 0.7632 MB / 402.2 MB, free: 15.84 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.287, allocations: 2.125 kB / 402.2 MB, free: 15.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002047/0.2891, allocations: 1.038 MB / 403.2 MB, free: 15.39 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.2891, allocations: 7.844 kB / 403.2 MB, free: 15.39 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.128e-06/0.2891, allocations: 2.312 kB / 403.2 MB, free: 15.39 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005623/0.2897, allocations: 180.1 kB / 403.4 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008059/0.2905, allocations: 190.9 kB / 403.6 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003666/0.2942, allocations: 2.861 MB / 406.5 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005294/0.2947, allocations: 38.38 kB / 406.5 MB, free: 12.92 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.93e-05/0.2948, allocations: 25.12 kB / 406.5 MB, free: 12.92 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (84): * Single equations (assignments): 83 * 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 {(5,11,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002958/0.2951, allocations: 232.2 kB / 406.8 MB, free: 12.72 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001251/0.2952, allocations: 71.25 kB / 406.8 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001687/0.2954, allocations: 85.39 kB / 406.9 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.2954, allocations: 1.219 kB / 406.9 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.2954, allocations: 3.938 kB / 406.9 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.2955, allocations: 133.6 kB / 407 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/0.2956, allocations: 20.27 kB / 407.1 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005693/0.2962, allocations: 48.12 kB / 407.1 MB, free: 12.44 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001265/0.2963, allocations: 59.28 kB / 407.2 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002837/0.2992, allocations: 1.064 MB / 408.2 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002275/0.3015, allocations: 1.383 MB / 409.6 MB, free: 10.99 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006334/0.3021, allocations: 353.2 kB / 410 MB, free: 10.8 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003961/0.3025, allocations: 357 kB / 410.3 MB, free: 10.59 MB / 334.1 MB Notification: Performance of Backend: time 2.515e-06/0.3025, allocations: 0 / 410.3 MB, free: 10.59 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002037/0.3046, allocations: 0.8443 MB / 411.2 MB, free: 10.07 MB / 334.1 MB Notification: Performance of SimCode: time 0.002737/0.3073, allocations: 2.241 MB / 413.4 MB, free: 8.395 MB / 334.1 MB Notification: Performance of Templates: time 0.01908/0.3264, allocations: 11.86 MB / 425.2 MB, free: 13.52 MB / 350.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe 2>&1)