Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.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.AmplifierWithOpAmpDetailed,tolerance=2e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") translateModel(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,tolerance=2e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009544/0.009544, allocations: 96.7 kB / 15.73 MB, free: 6.039 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.001556/0.001556, allocations: 193.2 kB / 16.67 MB, free: 5.969 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.546/1.546, allocations: 205.1 MB / 222.5 MB, free: 12.22 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.001071/0.001071, allocations: 55.92 kB / 326.6 MB, free: 3.277 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1035, allocations: 46.61 MB / 373.2 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.004132/0.1077, allocations: 3.182 MB / 376.3 MB, free: 1.363 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001637/0.1094, allocations: 1.002 MB / 377.3 MB, free: 356 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001587/0.1096, allocations: 4 kB / 377.4 MB, free: 352 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001825/0.1097, allocations: 67.34 kB / 377.4 MB, free: 284 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003567/0.1101, allocations: 119 kB / 377.5 MB, free: 164 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003426/0.1105, allocations: 155.6 kB / 377.7 MB, free: 8 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.1833/0.2938, allocations: 485.5 kB / 378.2 MB, free: 9.84 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003072/0.2941, allocations: 134.5 kB / 378.3 MB, free: 9.82 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003325/0.2945, allocations: 184.9 kB / 378.5 MB, free: 9.809 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002904/0.2948, allocations: 213.2 kB / 378.7 MB, free: 9.762 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.9e-05/0.2949, allocations: 39.88 kB / 378.7 MB, free: 9.762 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002084/0.2951, allocations: 75.41 kB / 378.8 MB, free: 9.762 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.527e-05/0.2952, allocations: 96.14 kB / 378.9 MB, free: 9.746 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001866/0.2954, allocations: 213.7 kB / 379.1 MB, free: 9.688 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007241/0.2961, allocations: 0.4938 MB / 379.6 MB, free: 9.605 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.2961, allocations: 1.125 kB / 379.6 MB, free: 9.605 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.2961, allocations: 0 / 379.6 MB, free: 9.605 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.474e-05/0.2961, allocations: 2.406 kB / 379.6 MB, free: 9.605 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001464/0.2976, allocations: 0.7446 MB / 380.3 MB, free: 9.098 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.465e-05/0.2977, allocations: 9.438 kB / 380.3 MB, free: 9.098 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001293/0.2978, allocations: 47.88 kB / 380.4 MB, free: 9.074 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005115/0.2983, allocations: 307.1 kB / 380.7 MB, free: 8.84 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.797e-05/0.2984, allocations: 27.53 kB / 380.7 MB, free: 8.84 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.094e-05/0.2985, allocations: 39.84 kB / 380.8 MB, free: 8.84 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006895/0.2992, allocations: 350.1 kB / 381.1 MB, free: 8.777 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.2992, allocations: 3.938 kB / 381.1 MB, free: 8.773 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.549e-05/0.2992, allocations: 13.72 kB / 381.1 MB, free: 8.773 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/0.2992, allocations: 9.156 kB / 381.1 MB, free: 8.773 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004955/0.2997, allocations: 232.8 kB / 381.4 MB, free: 8.77 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001954/0.3017, allocations: 1.174 MB / 382.5 MB, free: 8.301 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008615/0.3026, allocations: 287.5 kB / 382.8 MB, free: 8.227 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006377/0.3032, allocations: 216.7 kB / 383 MB, free: 8.164 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008243/0.3041, allocations: 1.117 MB / 384.1 MB, free: 6.844 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.557e-05/0.3041, allocations: 32.2 kB / 384.2 MB, free: 6.805 MB / 318.1 MB Notification: Performance of pre-optimization done (n=27): time 2.444e-06/0.3041, allocations: 1.469 kB / 384.2 MB, free: 6.805 MB / 318.1 MB Notification: Performance of matching and sorting (n=27): time 0.001687/0.3058, allocations: 0.5369 MB / 384.7 MB, free: 6.535 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.609e-05/0.3059, allocations: 79.88 kB / 384.8 MB, free: 6.441 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005434/0.3064, allocations: 337.5 kB / 385.1 MB, free: 6.262 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.063e-05/0.3065, allocations: 31.02 kB / 385.1 MB, free: 6.227 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001758/0.3067, allocations: 215.5 kB / 385.4 MB, free: 6.047 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.365e-05/0.3068, allocations: 104.5 kB / 385.5 MB, free: 5.969 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001377/0.3069, allocations: 78.64 kB / 385.5 MB, free: 5.914 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.307, allocations: 346.6 kB / 385.9 MB, free: 5.586 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002737/0.3073, allocations: 106.7 kB / 386 MB, free: 5.551 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003124/0.3076, allocations: 183.9 kB / 386.2 MB, free: 5.426 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005402/0.3082, allocations: 291.8 kB / 386.4 MB, free: 5.258 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.3082, allocations: 1.406 kB / 386.4 MB, free: 5.258 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008878/0.3091, allocations: 436 kB / 386.9 MB, free: 5.078 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.462e-05/0.3091, allocations: 5.156 kB / 386.9 MB, free: 5.078 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.3092, allocations: 3.359 kB / 386.9 MB, free: 5.078 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003345/0.3095, allocations: 76.34 kB / 387 MB, free: 5.051 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003407/0.3098, allocations: 77.77 kB / 387 MB, free: 5.047 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001701/0.3116, allocations: 1.957 MB / 389 MB, free: 3.305 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000297/0.3119, allocations: 43.39 kB / 389 MB, free: 3.277 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.422e-05/0.3119, allocations: 19.28 kB / 389 MB, free: 3.27 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (37): * Single equations (assignments): 36 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001716/0.3121, allocations: 150.3 kB / 389.2 MB, free: 3.133 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.846e-05/0.3122, allocations: 35.8 kB / 389.2 MB, free: 3.113 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008663/0.313, allocations: 330.2 kB / 389.6 MB, free: 2.961 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-06/0.3131, allocations: 8.328 kB / 389.6 MB, free: 2.957 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.3131, allocations: 4 kB / 389.6 MB, free: 2.953 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/0.3131, allocations: 5.344 kB / 389.6 MB, free: 2.949 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006194/0.3137, allocations: 395 kB / 390 MB, free: 2.676 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.3137, allocations: 0 / 390 MB, free: 2.676 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003569/0.3141, allocations: 60.55 kB / 390 MB, free: 2.672 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002592/0.3143, allocations: 58.84 kB / 390.1 MB, free: 2.652 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.146e-05/0.3144, allocations: 12.19 kB / 390.1 MB, free: 2.645 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003625/0.3148, allocations: 0.6014 MB / 390.7 MB, free: 2.086 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3148, allocations: 0 / 390.7 MB, free: 2.086 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008395/0.3156, allocations: 0.5239 MB / 391.2 MB, free: 1.797 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001189/0.3157, allocations: 132.8 kB / 391.3 MB, free: 1.672 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.639e-05/0.3158, allocations: 10.44 kB / 391.3 MB, free: 1.668 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002547/0.3161, allocations: 24.05 kB / 391.4 MB, free: 1.66 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.538e-05/0.3161, allocations: 18.67 kB / 391.4 MB, free: 1.656 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.107e-05/0.3162, allocations: 6.797 kB / 391.4 MB, free: 1.656 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002295/0.3164, allocations: 245.8 kB / 391.6 MB, free: 1.52 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3164, allocations: 0 / 391.6 MB, free: 1.52 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004815/0.3169, allocations: 112.2 kB / 391.7 MB, free: 1.496 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (opAmp.v_in,opAmp.q_fr1,opAmp.q_fr2,opAmp.q_fr3,opAmp.q_fp1,opAmp.v_source,opAmp.x) * 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 (20): * Single equations (assignments): 19 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000208/0.3171, allocations: 129.8 kB / 391.9 MB, free: 1.395 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008691/0.318, allocations: 423.1 kB / 392.3 MB, free: 1.184 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.318, allocations: 1.219 kB / 392.3 MB, free: 1.184 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003499/0.3184, allocations: 136.7 kB / 392.4 MB, free: 1.152 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000369/0.3187, allocations: 44.95 kB / 392.5 MB, free: 1.133 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001272/0.32, allocations: 0.8752 MB / 393.3 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002902/0.3203, allocations: 0.7937 MB / 394.1 MB, free: 15.88 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001453/0.3205, allocations: 40.48 kB / 394.2 MB, free: 15.87 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.732e-05/0.3206, allocations: 31.58 kB / 394.2 MB, free: 15.86 MB / 334.1 MB Notification: Performance of SimCode: time 3.8e-07/0.3206, allocations: 0 / 394.2 MB, free: 15.86 MB / 334.1 MB Notification: Performance of Templates: time 0.008896/0.3295, allocations: 4.007 MB / 398.2 MB, free: 15.48 MB / 334.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1)