Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.CascodeCircuit.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.Spice3.Examples.CascodeCircuit,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.CascodeCircuit") translateModel(Modelica.Electrical.Spice3.Examples.CascodeCircuit,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.CascodeCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 100.7 kB / 16.5 MB, free: 6.688 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.001498/0.001498, allocations: 193.9 kB / 17.42 MB, free: 6.09 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.385/1.385, allocations: 205.1 MB / 223.3 MB, free: 12.41 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.001183/0.001183, allocations: 43.94 kB / 279.3 MB, free: 3.582 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09207/0.09327, allocations: 46.63 MB / 326 MB, free: 4.883 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.CascodeCircuit): time 0.005598/0.09891, allocations: 5.151 MB / 331.1 MB, free: 15.7 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01005/0.109, allocations: 8.815 MB / 339.9 MB, free: 6.852 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008143/0.1098, allocations: 19.88 kB / 339.9 MB, free: 6.832 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001146/0.111, allocations: 330.2 kB / 340.3 MB, free: 6.508 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002445/0.1135, allocations: 0.6794 MB / 341 MB, free: 5.824 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001339/0.1149, allocations: 465.9 kB / 341.4 MB, free: 5.367 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002187/0.1171, allocations: 1.603 MB / 343 MB, free: 3.758 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002429/0.1173, allocations: 163.6 kB / 343.2 MB, free: 3.586 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002756/0.1176, allocations: 266.6 kB / 343.4 MB, free: 3.324 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002769/0.1179, allocations: 314 kB / 343.7 MB, free: 3.016 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.09e-05/0.1179, allocations: 20 kB / 343.8 MB, free: 2.996 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001129/0.1191, allocations: 0.5503 MB / 344.3 MB, free: 2.445 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.794e-05/0.1192, allocations: 95.27 kB / 344.4 MB, free: 2.352 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000312/0.1195, allocations: 397.5 kB / 344.8 MB, free: 1.961 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001125/0.1206, allocations: 1.172 MB / 346 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1206, allocations: 4 kB / 346 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1206, allocations: 0 / 346 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.131e-05/0.1207, allocations: 0 / 346 MB, free: 0.7812 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001706/0.1224, allocations: 1.275 MB / 347.2 MB, free: 15.45 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.1224, allocations: 8.031 kB / 347.2 MB, free: 15.45 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001315/0.1226, allocations: 111.6 kB / 347.4 MB, free: 15.34 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001046/0.1236, allocations: 0.8515 MB / 348.2 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.084e-05/0.1236, allocations: 24.56 kB / 348.2 MB, free: 14.41 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.759e-05/0.1237, allocations: 28 kB / 348.3 MB, free: 14.38 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004885/0.1242, allocations: 307.7 kB / 348.6 MB, free: 14.06 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.1242, allocations: 0 / 348.6 MB, free: 14.06 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.06e-05/0.1243, allocations: 11.94 kB / 348.6 MB, free: 14.05 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.222e-05/0.1243, allocations: 8 kB / 348.6 MB, free: 14.04 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004003/0.1247, allocations: 234.1 kB / 348.8 MB, free: 13.82 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001612/0.1263, allocations: 1.186 MB / 350 MB, free: 12.56 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003566/0.1267, allocations: 202.6 kB / 350.2 MB, free: 12.35 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003092/0.127, allocations: 225.2 kB / 350.4 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007766/0.1348, allocations: 8.565 MB / 359 MB, free: 2.164 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/0.1348, allocations: 34.56 kB / 359 MB, free: 2.121 MB / 302.1 MB Notification: Performance of pre-optimization done (n=23): time 2.094e-06/0.1348, allocations: 0 / 359 MB, free: 2.121 MB / 302.1 MB Notification: Performance of matching and sorting (n=23): time 0.001588/0.1364, allocations: 0.6582 MB / 359.7 MB, free: 1.434 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.933e-05/0.1365, allocations: 77.11 kB / 359.7 MB, free: 1.34 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009378/0.1375, allocations: 0.7948 MB / 360.5 MB, free: 0.5273 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.339e-05/0.1375, allocations: 33.64 kB / 360.6 MB, free: 500 kB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003025/0.1378, allocations: 448.6 kB / 361 MB, free: 48 kB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.151e-05/0.1379, allocations: 79 kB / 361.1 MB, free: 15.96 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.639e-05/0.138, allocations: 53.94 kB / 361.1 MB, free: 15.91 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.483e-05/0.1381, allocations: 325.9 kB / 361.5 MB, free: 15.58 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001325/0.1382, allocations: 64.2 kB / 361.5 MB, free: 15.52 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000184/0.1384, allocations: 150.3 kB / 361.7 MB, free: 15.34 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003194/0.1387, allocations: 225.1 kB / 361.9 MB, free: 15.09 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.1387, allocations: 0 / 361.9 MB, free: 15.09 MB / 318.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005669/0.1393, allocations: 408.8 kB / 362.3 MB, free: 14.68 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.1393, allocations: 4 kB / 362.3 MB, free: 14.68 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.02e-05/0.1394, allocations: 23.98 kB / 362.3 MB, free: 14.65 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003631/0.1397, allocations: 136.2 kB / 362.4 MB, free: 14.52 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001693/0.1399, allocations: 40.16 kB / 362.5 MB, free: 14.48 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006023/0.1405, allocations: 0.7083 MB / 363.2 MB, free: 13.75 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002487/0.1408, allocations: 35.7 kB / 363.2 MB, free: 13.71 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.402e-05/0.1408, allocations: 15.94 kB / 363.2 MB, free: 13.7 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (16): * Single equations (assignments): 15 * 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 {(2,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0002224/0.1411, allocations: 193.9 kB / 363.4 MB, free: 13.5 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.1412, allocations: 102.8 kB / 363.5 MB, free: 13.39 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008189/0.142, allocations: 403.6 kB / 363.9 MB, free: 12.98 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.774e-06/0.142, allocations: 3.984 kB / 363.9 MB, free: 12.98 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.142, allocations: 4 kB / 363.9 MB, free: 12.98 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.142, allocations: 0 / 363.9 MB, free: 12.98 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005808/0.1426, allocations: 0.5073 MB / 364.4 MB, free: 12.42 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-05/0.1427, allocations: 15.92 kB / 364.5 MB, free: 12.41 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001195/0.1428, allocations: 27.91 kB / 364.5 MB, free: 12.38 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000266/0.1431, allocations: 132.8 kB / 364.6 MB, free: 12.25 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.429e-05/0.1431, allocations: 15.98 kB / 364.6 MB, free: 12.23 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005923/0.1437, allocations: 0.6968 MB / 365.3 MB, free: 11.51 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.247e-06/0.1437, allocations: 3.984 kB / 365.3 MB, free: 11.5 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006042/0.1443, allocations: 463.7 kB / 365.8 MB, free: 11.04 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002314/0.1446, allocations: 167.9 kB / 365.9 MB, free: 10.85 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.421e-05/0.1447, allocations: 7.922 kB / 366 MB, free: 10.84 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002042/0.1449, allocations: 8 kB / 366 MB, free: 10.84 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.794e-05/0.1449, allocations: 15.92 kB / 366 MB, free: 10.82 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.203e-05/0.145, allocations: 12 kB / 366 MB, free: 10.81 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006511/0.1456, allocations: 0.5344 MB / 366.5 MB, free: 10.27 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1456, allocations: 4 kB / 366.5 MB, free: 10.26 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005956/0.1462, allocations: 203.7 kB / 366.7 MB, free: 10.06 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (7): * Single equations (assignments): 6 * 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 {(2,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004983/0.1468, allocations: 283.8 kB / 367 MB, free: 9.777 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005834/0.1473, allocations: 287 kB / 367.3 MB, free: 9.484 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1474, allocations: 0 / 367.3 MB, free: 9.484 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002719/0.1476, allocations: 175.9 kB / 367.5 MB, free: 9.301 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005942/0.1482, allocations: 128.3 kB / 367.6 MB, free: 9.176 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002008/0.1503, allocations: 1.453 MB / 369 MB, free: 7.691 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004869/0.1508, allocations: 0.9491 MB / 370 MB, free: 6.715 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003621/0.1511, allocations: 110.7 kB / 370.1 MB, free: 6.602 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.871e-05/0.1512, allocations: 47.44 kB / 370.1 MB, free: 6.555 MB / 318.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1512, allocations: 0 / 370.1 MB, free: 6.555 MB / 318.1 MB Notification: Performance of Templates: time 0.1625/0.3138, allocations: 8.722 MB / 378.9 MB, free: 55.11 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.CascodeCircuit.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.CascodeCircuit.sim & ./Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.CascodeCircuit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Spice3.Examples.CascodeCircuit.pipe 2>&1)