Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001066/0.001066, allocations: 110.5 kB / 17.75 MB, free: 5.332 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.001086/0.001086, allocations: 187 kB / 18.68 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 222.9 MB / 242.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009827/0.0009827, allocations: 43.92 kB / 352 MB, free: 3.227 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.2337, allocations: 49.44 MB / 401.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.006267/0.24, allocations: 6.064 MB / 407.5 MB, free: 2.754 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002233/0.2423, allocations: 1.525 MB / 409 MB, free: 1.219 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002924/0.2426, allocations: 15.94 kB / 409 MB, free: 1.203 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003167/0.2429, allocations: 170.3 kB / 409.2 MB, free: 1.035 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004775/0.2434, allocations: 293.2 kB / 409.5 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007202/0.2441, allocations: 415.4 kB / 409.9 MB, free: 348 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001154/0.2453, allocations: 1.387 MB / 411.3 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005126/0.2458, allocations: 429.2 kB / 411.7 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004888/0.2463, allocations: 0.4984 MB / 412.2 MB, free: 14.01 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005908/0.2469, allocations: 0.5641 MB / 412.8 MB, free: 13.44 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001701/0.2471, allocations: 136 kB / 412.9 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002736/0.2474, allocations: 172 kB / 413.1 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001996/0.2476, allocations: 267.2 kB / 413.3 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004807/0.2481, allocations: 0.5949 MB / 413.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001164/0.2492, allocations: 1.531 MB / 415.4 MB, free: 10.75 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.2493, allocations: 0 / 415.4 MB, free: 10.75 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2493, allocations: 0 / 415.4 MB, free: 10.75 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.262e-05/0.2493, allocations: 0 / 415.4 MB, free: 10.75 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 221 * Number of variables: 221 Notification: Performance of Generate backend data structure: time 0.002466/0.2517, allocations: 1.379 MB / 416.8 MB, free: 9.316 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.2518, allocations: 8.031 kB / 416.8 MB, free: 9.309 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001772/0.252, allocations: 115.6 kB / 417 MB, free: 9.195 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007344/0.2527, allocations: 0.5654 MB / 417.5 MB, free: 8.59 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.721e-05/0.2528, allocations: 62.38 kB / 417.6 MB, free: 8.527 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001335/0.2529, allocations: 88.38 kB / 417.7 MB, free: 8.441 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001499/0.2544, allocations: 0.8588 MB / 418.5 MB, free: 7.578 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.2544, allocations: 0 / 418.5 MB, free: 7.578 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.515e-05/0.2545, allocations: 36 kB / 418.6 MB, free: 7.543 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.69e-05/0.2546, allocations: 20 kB / 418.6 MB, free: 7.523 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001617/0.2562, allocations: 0.855 MB / 419.4 MB, free: 6.668 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005172/0.2614, allocations: 3.21 MB / 422.6 MB, free: 3.328 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001115/0.2625, allocations: 0.684 MB / 423.3 MB, free: 2.637 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006887/0.2632, allocations: 424.8 kB / 423.7 MB, free: 2.219 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.973e-05/0.2633, allocations: 16.53 kB / 423.8 MB, free: 2.203 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.136e-05/0.2633, allocations: 51.12 kB / 423.8 MB, free: 2.141 MB / 334.1 MB Notification: Performance of pre-optimization done (n=69): time 2.064e-06/0.2633, allocations: 0 / 423.8 MB, free: 2.141 MB / 334.1 MB Notification: Performance of matching and sorting (n=73): time 0.00433/0.2676, allocations: 2.263 MB / 426.1 MB, free: 15.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.956e-05/0.2677, allocations: 60.06 kB / 426.1 MB, free: 15.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006405/0.2683, allocations: 0.6018 MB / 426.7 MB, free: 15.15 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.751e-05/0.2684, allocations: 41.7 kB / 426.8 MB, free: 15.1 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002864/0.2687, allocations: 439.3 kB / 427.2 MB, free: 14.66 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001804/0.2689, allocations: 264.2 kB / 427.5 MB, free: 14.4 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002454/0.2691, allocations: 150.6 kB / 427.6 MB, free: 14.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.2693, allocations: 386.7 kB / 428 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006577/0.27, allocations: 325.9 kB / 428.3 MB, free: 13.54 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007899/0.2708, allocations: 472.5 kB / 428.8 MB, free: 13.03 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001398/0.2722, allocations: 0.8047 MB / 429.6 MB, free: 12.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.2722, allocations: 0 / 429.6 MB, free: 12.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002105/0.2743, allocations: 1.114 MB / 430.7 MB, free: 11.05 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.2743, allocations: 12.06 kB / 430.7 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.2743, allocations: 4 kB / 430.7 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000525/0.2749, allocations: 184.6 kB / 430.9 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008754/0.2758, allocations: 199.8 kB / 431.1 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003573/0.2793, allocations: 2.884 MB / 434 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006099/0.28, allocations: 32.05 kB / 434 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.298e-05/0.28, allocations: 39.98 kB / 434 MB, free: 7.566 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (90): * 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: 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,13,72.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003187/0.2804, allocations: 233.6 kB / 434.3 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001277/0.2805, allocations: 83 kB / 434.3 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001912/0.2807, allocations: 99.25 kB / 434.4 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.2807, allocations: 3.984 kB / 434.4 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.2807, allocations: 128 / 434.4 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001325/0.2809, allocations: 148.2 kB / 434.6 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/0.281, allocations: 23.92 kB / 434.6 MB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006197/0.2816, allocations: 51.97 kB / 434.7 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/0.2817, allocations: 60.55 kB / 434.7 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002797/0.2845, allocations: 1.087 MB / 435.8 MB, free: 5.746 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0022/0.2868, allocations: 1.4 MB / 437.2 MB, free: 4.324 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006118/0.2874, allocations: 357.1 kB / 437.5 MB, free: 3.973 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000449/0.2878, allocations: 423.1 kB / 438 MB, free: 3.566 MB / 350.1 MB Notification: Performance of Backend: time 3.51e-07/0.2879, allocations: 0 / 438 MB, free: 3.566 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002113/0.29, allocations: 0.8723 MB / 438.8 MB, free: 2.68 MB / 350.1 MB Notification: Performance of SimCode: time 0.002816/0.2928, allocations: 2.386 MB / 441.2 MB, free: 248 kB / 350.1 MB Notification: Performance of Templates: time 0.02076/0.3136, allocations: 12.98 MB / 454.2 MB, free: 3.359 MB / 366.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.DifferenceAmplifier.pipe 2>&1)