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.001603/0.001603, allocations: 108.3 kB / 18.4 MB, free: 4.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.001889/0.00189, allocations: 186.2 kB / 19.34 MB, free: 3.754 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.271/1.271, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001144/0.001144, allocations: 47.92 kB / 329.2 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06923/0.07039, allocations: 46.62 MB / 375.8 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.DifferenceAmplifier): time 0.1487/0.2191, allocations: 5.695 MB / 381.5 MB, free: 10.3 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001887/0.2211, allocations: 1.445 MB / 383 MB, free: 10.2 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000262/0.2213, allocations: 18.94 kB / 383 MB, free: 10.2 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002714/0.2216, allocations: 156.6 kB / 383.2 MB, free: 10.11 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003958/0.222, allocations: 276.7 kB / 383.4 MB, free: 9.973 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005726/0.2226, allocations: 361.6 kB / 383.8 MB, free: 9.844 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001/0.2236, allocations: 1.235 MB / 385 MB, free: 9.207 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004665/0.2241, allocations: 422.1 kB / 385.4 MB, free: 9.012 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004018/0.2245, allocations: 461.5 kB / 385.9 MB, free: 8.793 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004964/0.225, allocations: 0.524 MB / 386.4 MB, free: 8.531 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001469/0.2252, allocations: 124 kB / 386.5 MB, free: 8.531 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002503/0.2254, allocations: 161.5 kB / 386.7 MB, free: 8.52 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001632/0.2256, allocations: 257.2 kB / 386.9 MB, free: 8.344 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003975/0.226, allocations: 0.5357 MB / 387.5 MB, free: 8.012 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001141/0.2272, allocations: 1.411 MB / 388.9 MB, free: 7.492 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.2272, allocations: 1.094 kB / 388.9 MB, free: 7.492 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2272, allocations: 0 / 388.9 MB, free: 7.492 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.292e-05/0.2272, allocations: 0 / 388.9 MB, free: 7.492 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.002273/0.2295, allocations: 1.287 MB / 390.2 MB, free: 6.668 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.2295, allocations: 8.906 kB / 390.2 MB, free: 6.668 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001652/0.2297, allocations: 104.6 kB / 390.3 MB, free: 6.617 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005963/0.2303, allocations: 0.5157 MB / 390.8 MB, free: 6.215 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.981e-05/0.2304, allocations: 60.62 kB / 390.9 MB, free: 6.188 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001175/0.2305, allocations: 82 kB / 390.9 MB, free: 6.16 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001471/0.232, allocations: 0.8837 MB / 391.8 MB, free: 5.781 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.844e-05/0.232, allocations: 2.062 kB / 391.8 MB, free: 5.781 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.842e-05/0.2321, allocations: 35.09 kB / 391.9 MB, free: 5.754 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.639e-05/0.2321, allocations: 20 kB / 391.9 MB, free: 5.754 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001499/0.2336, allocations: 0.7848 MB / 392.7 MB, free: 5.477 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004393/0.238, allocations: 3.025 MB / 395.7 MB, free: 3.746 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001012/0.239, allocations: 0.6567 MB / 396.3 MB, free: 3.426 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006451/0.2397, allocations: 405.8 kB / 396.7 MB, free: 3.262 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.952e-05/0.2397, allocations: 13.19 kB / 396.7 MB, free: 3.262 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.2398, allocations: 43.11 kB / 396.8 MB, free: 3.215 MB / 318.1 MB Notification: Performance of pre-optimization done (n=67): time 2.384e-06/0.2398, allocations: 0 / 396.8 MB, free: 3.215 MB / 318.1 MB Notification: Performance of matching and sorting (n=71): time 0.004134/0.2439, allocations: 2.193 MB / 399 MB, free: 2.078 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.077e-05/0.244, allocations: 58.41 kB / 399 MB, free: 2.016 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004815/0.2444, allocations: 0.5012 MB / 399.5 MB, free: 1.777 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.354e-05/0.2445, allocations: 41.83 kB / 399.6 MB, free: 1.734 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001657/0.2447, allocations: 390.1 kB / 400 MB, free: 1.426 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000134/0.2448, allocations: 254.5 kB / 400.2 MB, free: 1.23 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002101/0.245, allocations: 136.3 kB / 400.3 MB, free: 1.16 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.764e-05/0.2451, allocations: 376.9 kB / 400.7 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005883/0.2457, allocations: 310.3 kB / 401 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006271/0.2463, allocations: 434 kB / 401.4 MB, free: 460 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001194/0.2475, allocations: 0.7428 MB / 402.2 MB, free: 32 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.2476, allocations: 0 / 402.2 MB, free: 32 kB / 318.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002402/0.25, allocations: 1.068 MB / 403.2 MB, free: 15.7 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.25, allocations: 10.78 kB / 403.3 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.25, allocations: 2.281 kB / 403.3 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005676/0.2506, allocations: 178 kB / 403.4 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008435/0.2514, allocations: 196.9 kB / 403.6 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003793/0.2552, allocations: 2.86 MB / 406.5 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006059/0.2559, allocations: 29.55 kB / 406.5 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.097e-05/0.2559, allocations: 33.92 kB / 406.5 MB, free: 13.18 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.0003253/0.2563, allocations: 221.1 kB / 406.8 MB, free: 12.99 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001247/0.2564, allocations: 69.72 kB / 406.8 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001882/0.2566, allocations: 87.36 kB / 406.9 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.2566, allocations: 3.984 kB / 406.9 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.2566, allocations: 3.938 kB / 406.9 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001176/0.2567, allocations: 133.3 kB / 407.1 MB, free: 12.74 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001078/0.2569, allocations: 16.81 kB / 407.1 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006101/0.2575, allocations: 57.95 kB / 407.1 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001207/0.2576, allocations: 52.94 kB / 407.2 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002852/0.2605, allocations: 1.071 MB / 408.3 MB, free: 12.08 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002234/0.2627, allocations: 1.38 MB / 409.6 MB, free: 11.24 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006205/0.2633, allocations: 360.5 kB / 410 MB, free: 11.05 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003859/0.2637, allocations: 356.3 kB / 410.3 MB, free: 10.84 MB / 334.1 MB Notification: Performance of Backend: time 4.81e-07/0.2637, allocations: 0 / 410.3 MB, free: 10.84 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002061/0.2658, allocations: 0.8498 MB / 411.2 MB, free: 10.31 MB / 334.1 MB Notification: Performance of SimCode: time 0.002589/0.2684, allocations: 2.246 MB / 413.4 MB, free: 8.621 MB / 334.1 MB Notification: Performance of Templates: time 0.01797/0.2864, allocations: 12 MB / 425.4 MB, free: 13.54 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)