Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.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: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 94.52 kB / 16.93 MB, free: 6.445 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.0009858/0.000986, allocations: 183.7 kB / 17.83 MB, free: 6.012 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.326/1.326, allocations: 205.4 MB / 224 MB, free: 13.18 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.0004637/0.0004642, allocations: 11.44 kB / 280.8 MB, free: 3.645 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09147/0.09194, allocations: 47.57 MB / 328.4 MB, free: 4.004 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair): time 0.00641/0.0984, allocations: 6.663 MB / 335.1 MB, free: 13.32 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0111/0.1095, allocations: 9.61 MB / 344.7 MB, free: 3.68 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00079/0.1104, allocations: 15.94 kB / 344.7 MB, free: 3.664 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001645/0.112, allocations: 0.6842 MB / 345.4 MB, free: 2.977 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003033/0.1151, allocations: 1.071 MB / 346.5 MB, free: 1.902 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001498/0.1166, allocations: 487.2 kB / 346.9 MB, free: 1.426 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003966/0.1206, allocations: 2.432 MB / 349.4 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004776/0.1211, allocations: 310.8 kB / 349.7 MB, free: 14.66 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005585/0.1216, allocations: 461.7 kB / 350.1 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005657/0.1222, allocations: 0.5513 MB / 350.7 MB, free: 13.65 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.247e-05/0.1223, allocations: 36 kB / 350.7 MB, free: 13.62 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00164/0.124, allocations: 0.687 MB / 351.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001742/0.1241, allocations: 174.8 kB / 351.6 MB, free: 12.76 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003056/0.1245, allocations: 348.7 kB / 351.9 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001516/0.126, allocations: 1.476 MB / 353.4 MB, free: 10.93 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.126, allocations: 0 / 353.4 MB, free: 10.93 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.126, allocations: 0 / 353.4 MB, free: 10.93 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.843e-05/0.126, allocations: 0 / 353.4 MB, free: 10.93 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.00312/0.1292, allocations: 1.995 MB / 355.4 MB, free: 8.875 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.1292, allocations: 8.031 kB / 355.4 MB, free: 8.867 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001139/0.1293, allocations: 102.5 kB / 355.5 MB, free: 8.758 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002192/0.1295, allocations: 221.4 kB / 355.7 MB, free: 8.539 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001822/0.1314, allocations: 1.223 MB / 356.9 MB, free: 7.242 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.036e-05/0.1314, allocations: 41.31 kB / 357 MB, free: 7.203 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.823e-05/0.1315, allocations: 55.98 kB / 357 MB, free: 7.148 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001283/0.1328, allocations: 0.7095 MB / 357.7 MB, free: 6.426 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.1329, allocations: 0 / 357.7 MB, free: 6.426 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.029e-05/0.1329, allocations: 20 kB / 357.7 MB, free: 6.406 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.75e-05/0.133, allocations: 31.94 kB / 357.8 MB, free: 6.375 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001316/0.1343, allocations: 0.6064 MB / 358.4 MB, free: 5.766 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003497/0.1378, allocations: 2.553 MB / 360.9 MB, free: 3.074 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00121/0.139, allocations: 0.6584 MB / 361.6 MB, free: 2.406 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00854/0.1476, allocations: 7.528 MB / 369.1 MB, free: 9.746 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007649/0.1484, allocations: 413.8 kB / 369.5 MB, free: 9.332 MB / 318.1 MB Notification: Performance of pre-optimization done (n=67): time 2.304e-06/0.1484, allocations: 0 / 369.5 MB, free: 9.332 MB / 318.1 MB Notification: Performance of matching and sorting (n=67): time 0.005558/0.1539, allocations: 2.114 MB / 371.6 MB, free: 7.18 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.267e-05/0.154, allocations: 97.48 kB / 371.7 MB, free: 7.066 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001622/0.1557, allocations: 1.411 MB / 373.2 MB, free: 5.617 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.081e-05/0.1557, allocations: 37.7 kB / 373.2 MB, free: 5.574 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006335/0.1564, allocations: 0.7977 MB / 374 MB, free: 4.766 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001757/0.1565, allocations: 232.7 kB / 374.2 MB, free: 4.535 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.572e-05/0.1566, allocations: 16 kB / 374.2 MB, free: 4.52 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.1567, allocations: 337.9 kB / 374.6 MB, free: 4.184 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005779/0.1573, allocations: 277.9 kB / 374.8 MB, free: 3.91 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006966/0.158, allocations: 470.3 kB / 375.3 MB, free: 3.371 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006507/0.1587, allocations: 330.9 kB / 375.6 MB, free: 3.051 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.802e-06/0.1587, allocations: 4 kB / 375.6 MB, free: 3.047 MB / 318.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001978/0.1607, allocations: 1.175 MB / 376.8 MB, free: 1.859 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/0.1607, allocations: 8.719 kB / 376.8 MB, free: 1.852 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.891e-05/0.1608, allocations: 71.98 kB / 376.9 MB, free: 1.781 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001129/0.1619, allocations: 0.6991 MB / 377.6 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004565/0.1624, allocations: 123.8 kB / 377.7 MB, free: 0.957 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1394/0.3018, allocations: 1.117 MB / 378.8 MB, free: 52.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007575/0.3026, allocations: 98.31 kB / 378.9 MB, free: 52.23 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.805e-05/0.3026, allocations: 37.78 kB / 378.9 MB, free: 52.23 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.VCC.counter,VCC.counter,$PRE.VEE.counter,VEE.counter,$whenCondition2,$whenCondition1,$PRE.VCC.T0,VCC.T0,$PRE.VCC.counter2,VCC.counter2,$PRE.VEE.T0,VEE.T0,$PRE.VEE.counter2,VEE.counter2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 26} Notification: Performance of prepare postOptimizeDAE: time 0.0004452/0.3031, allocations: 292 kB / 379.2 MB, free: 52.11 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000167/0.3033, allocations: 203.2 kB / 379.4 MB, free: 52.09 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002352/0.3056, allocations: 1.14 MB / 380.6 MB, free: 52.01 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.22e-05/0.3057, allocations: 5.906 kB / 380.6 MB, free: 52.01 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.3057, allocations: 4.359 kB / 380.6 MB, free: 52.01 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.3057, allocations: 6.516 kB / 380.6 MB, free: 52.01 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009767/0.3067, allocations: 0.9687 MB / 381.5 MB, free: 51.78 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.133e-05/0.3067, allocations: 74.64 kB / 381.6 MB, free: 51.78 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003332/0.3071, allocations: 64.2 kB / 381.7 MB, free: 51.78 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00101/0.3081, allocations: 0.6658 MB / 382.3 MB, free: 51.77 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.7e-05/0.3082, allocations: 20.47 kB / 382.4 MB, free: 51.77 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001013/0.3092, allocations: 1.09 MB / 383.5 MB, free: 51.23 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.3092, allocations: 0 / 383.5 MB, free: 51.23 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002351/0.3116, allocations: 1.428 MB / 384.9 MB, free: 50.93 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00034/0.3119, allocations: 286.5 kB / 385.2 MB, free: 50.72 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001533/0.3121, allocations: 13.34 kB / 385.2 MB, free: 50.71 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004527/0.3125, allocations: 45.56 kB / 385.2 MB, free: 50.71 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001236/0.3127, allocations: 51.58 kB / 385.3 MB, free: 50.7 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.626e-05/0.3127, allocations: 25.31 kB / 385.3 MB, free: 50.7 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001048/0.3138, allocations: 0.9296 MB / 386.2 MB, free: 50.32 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3138, allocations: 3.156 kB / 386.2 MB, free: 50.32 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008548/0.3146, allocations: 429.9 kB / 386.7 MB, free: 50.27 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Q1.vbe,Q1.vbc,Q2.vbe,Q2.vbc) * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,VCC.T0,VCC.counter,VCC.counter2,VEE.T0,VEE.counter,VEE.counter2) * Number of discrete states: 4 (VEE.counter,VCC.counter,VEE.counter2,VCC.counter2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 24} Notification: Performance of Backend phase and start with SimCode phase: time 0.003033/0.3177, allocations: 2.294 MB / 388.9 MB, free: 49.13 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00184/0.3195, allocations: 0.9108 MB / 389.9 MB, free: 48.83 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.3195, allocations: 0 / 389.9 MB, free: 48.83 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001061/0.3206, allocations: 0.5476 MB / 390.4 MB, free: 48.64 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005444/0.3212, allocations: 172 kB / 390.6 MB, free: 48.55 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01621/0.3374, allocations: 13.65 MB / 404.2 MB, free: 38.33 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004563/0.3379, allocations: 1.253 MB / 405.5 MB, free: 37.07 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005078/0.3384, allocations: 162.1 kB / 405.6 MB, free: 36.91 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004448/0.3389, allocations: 0.6243 MB / 406.3 MB, free: 36.29 MB / 318.1 MB Notification: Performance of SimCode: time 9.72e-07/0.3389, allocations: 4 kB / 406.3 MB, free: 36.28 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04035/0.3792, allocations: 29.71 MB / 436 MB, free: 6.539 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002047/0.3795, allocations: 224.2 kB / 436.2 MB, free: 6.305 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.754/3.134, allocations: 0 / 436.2 MB, free: 6.305 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 Modelica_3_2_3_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkDifferentialPair.fmu > Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Spice3BenchmarkDifferentialPair.pipe 2>&1) Environment - environmentSimulation: