Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008314/0.0008313, allocations: 93.22 kB / 17 MB, free: 6.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009359/0.0009359, allocations: 194.5 kB / 17.91 MB, free: 5.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.495/1.495, allocations: 227.4 MB / 246 MB, free: 11.98 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002675/0.0002678, allocations: 11.98 kB / 306.8 MB, free: 1.492 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.125, allocations: 51.49 MB / 358.3 MB, free: 14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.002867/0.1279, allocations: 2.197 MB / 360.5 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001143/0.1291, allocations: 0.6665 MB / 361.2 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001289/0.1292, allocations: 7.938 kB / 361.2 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000128/0.1293, allocations: 31.77 kB / 361.2 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002179/0.1296, allocations: 71.45 kB / 361.3 MB, free: 11.01 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001577/0.1297, allocations: 59.92 kB / 361.4 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002927/0.13, allocations: 286.7 kB / 361.6 MB, free: 10.67 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000183/0.1302, allocations: 65.28 kB / 361.7 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001207/0.1304, allocations: 95.62 kB / 361.8 MB, free: 10.51 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001456/0.1305, allocations: 115.5 kB / 361.9 MB, free: 10.4 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.564e-05/0.1306, allocations: 16 kB / 361.9 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.32e-05/0.1306, allocations: 15.94 kB / 361.9 MB, free: 10.37 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.619e-05/0.1306, allocations: 43.83 kB / 362 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6e-05/0.1307, allocations: 69.58 kB / 362 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002036/0.1309, allocations: 207.6 kB / 362.2 MB, free: 10.05 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.1309, allocations: 0 / 362.2 MB, free: 10.05 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1309, allocations: 0 / 362.2 MB, free: 10.05 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.738e-06/0.131, allocations: 0 / 362.2 MB, free: 10.05 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0008628/0.1318, allocations: 0.5262 MB / 362.8 MB, free: 9.473 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.1319, allocations: 8.031 kB / 362.8 MB, free: 9.465 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.88e-05/0.1319, allocations: 62.53 kB / 362.8 MB, free: 9.395 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.46e-05/0.132, allocations: 31.72 kB / 362.9 MB, free: 9.363 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003186/0.1323, allocations: 250.5 kB / 363.1 MB, free: 9.078 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.242e-05/0.1324, allocations: 16.56 kB / 363.1 MB, free: 9.062 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.078e-05/0.1324, allocations: 27.94 kB / 363.2 MB, free: 9.035 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004501/0.1329, allocations: 216.9 kB / 363.4 MB, free: 8.82 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.1329, allocations: 3.938 kB / 363.4 MB, free: 8.816 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.55e-05/0.1329, allocations: 12 kB / 363.4 MB, free: 8.805 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.219e-05/0.1329, allocations: 4 kB / 363.4 MB, free: 8.801 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004069/0.1334, allocations: 198.1 kB / 363.6 MB, free: 8.602 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001508/0.1349, allocations: 0.9085 MB / 364.5 MB, free: 7.621 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005971/0.1355, allocations: 230.6 kB / 364.7 MB, free: 7.387 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002958/0.1358, allocations: 124.7 kB / 364.8 MB, free: 7.262 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.098e-05/0.1358, allocations: 7.984 kB / 364.9 MB, free: 7.254 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/0.1359, allocations: 34.56 kB / 364.9 MB, free: 7.211 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.714e-06/0.1359, allocations: 0 / 364.9 MB, free: 7.211 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.001704/0.1376, allocations: 0.5991 MB / 365.5 MB, free: 6.586 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.299e-05/0.1376, allocations: 55.41 kB / 365.5 MB, free: 6.52 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002398/0.1379, allocations: 231 kB / 365.8 MB, free: 6.277 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.1379, allocations: 25.7 kB / 365.8 MB, free: 6.246 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/0.138, allocations: 167.9 kB / 366 MB, free: 6.078 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.262e-05/0.1381, allocations: 55.2 kB / 366 MB, free: 6.023 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.618e-06/0.1381, allocations: 4 kB / 366 MB, free: 6.02 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.1383, allocations: 330.8 kB / 366.3 MB, free: 5.688 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001623/0.1384, allocations: 71.91 kB / 366.4 MB, free: 5.617 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001911/0.1386, allocations: 119.7 kB / 366.5 MB, free: 5.48 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001729/0.1388, allocations: 74.73 kB / 366.6 MB, free: 5.41 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.1388, allocations: 0 / 366.6 MB, free: 5.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008037/0.1396, allocations: 354.1 kB / 366.9 MB, free: 5.055 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001085/0.1397, allocations: 136.7 kB / 367.1 MB, free: 4.898 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.1398, allocations: 4 kB / 367.1 MB, free: 4.895 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003749/0.1401, allocations: 84.81 kB / 367.2 MB, free: 4.809 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001523/0.1403, allocations: 47.84 kB / 367.2 MB, free: 4.762 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002618/0.1429, allocations: 1.865 MB / 369.1 MB, free: 2.754 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001825/0.1431, allocations: 23.88 kB / 369.1 MB, free: 2.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.1432, allocations: 8 kB / 369.1 MB, free: 2.723 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.965e-06/0.1432, allocations: 4 kB / 369.1 MB, free: 2.719 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003033/0.1435, allocations: 179.2 kB / 369.3 MB, free: 2.543 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.1435, allocations: 4 kB / 369.3 MB, free: 2.539 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.541e-05/0.1436, allocations: 20.84 kB / 369.3 MB, free: 2.516 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001601/0.1437, allocations: 43.92 kB / 369.3 MB, free: 2.473 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001122/0.1449, allocations: 1.316 MB / 370.7 MB, free: 1.027 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001117/0.145, allocations: 19.88 kB / 370.7 MB, free: 1.008 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.859e-06/0.145, allocations: 4 kB / 370.7 MB, free: 1.004 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (21): * Single equations (assignments): 20 * 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 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002091/0.1452, allocations: 221.1 kB / 370.9 MB, free: 0.7773 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.922e-05/0.1453, allocations: 15.81 kB / 370.9 MB, free: 0.7617 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.925e-05/0.1453, allocations: 21.52 kB / 370.9 MB, free: 0.7422 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.1454, allocations: 4 kB / 370.9 MB, free: 0.7383 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.1454, allocations: 0 / 370.9 MB, free: 0.7383 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.1454, allocations: 0 / 370.9 MB, free: 0.7383 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001094/0.1465, allocations: 0.6357 MB / 371.6 MB, free: 44 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.1465, allocations: 4 kB / 371.6 MB, free: 40 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001134/0.1466, allocations: 27.94 kB / 371.6 MB, free: 12 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.2432/0.3898, allocations: 76.61 kB / 371.7 MB, free: 19.26 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.282e-05/0.3899, allocations: 3 kB / 371.7 MB, free: 19.26 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0022/0.3921, allocations: 1.758 MB / 373.4 MB, free: 17.95 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.3921, allocations: 1.125 kB / 373.4 MB, free: 17.95 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008513/0.393, allocations: 454.6 kB / 373.9 MB, free: 17.81 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.916e-05/0.393, allocations: 103.7 kB / 374 MB, free: 17.71 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.524e-05/0.3931, allocations: 1.641 kB / 374 MB, free: 17.71 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000182/0.3933, allocations: 24.83 kB / 374 MB, free: 17.71 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.79e-05/0.3933, allocations: 9.844 kB / 374 MB, free: 17.71 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.267e-05/0.3933, allocations: 6.375 kB / 374 MB, free: 17.71 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001622/0.3935, allocations: 164.1 kB / 374.2 MB, free: 17.64 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.3935, allocations: 0.9688 kB / 374.2 MB, free: 17.64 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000611/0.3941, allocations: 113.7 kB / 374.3 MB, free: 17.64 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c.v) * 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 (11): * Single equations (assignments): 10 * 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 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001078/0.3952, allocations: 0.9851 MB / 375.3 MB, free: 16.97 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001027/0.3962, allocations: 0.5565 MB / 375.8 MB, free: 16.75 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3962, allocations: 3.75 kB / 375.9 MB, free: 16.75 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002709/0.3965, allocations: 197 kB / 376 MB, free: 16.64 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003989/0.3969, allocations: 36.62 kB / 376.1 MB, free: 16.63 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002532/0.3995, allocations: 1.489 MB / 377.6 MB, free: 16.02 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001806/0.3997, allocations: 0.7479 MB / 378.3 MB, free: 15.31 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001114/0.3998, allocations: 22.45 kB / 378.3 MB, free: 15.3 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001126/0.3999, allocations: 68.61 kB / 378.4 MB, free: 15.29 MB / 302.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3999, allocations: 0 / 378.4 MB, free: 15.29 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01703/0.417, allocations: 4.835 MB / 383.2 MB, free: 14.94 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001306/0.4171, allocations: 234.4 kB / 383.5 MB, free: 14.7 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.872/2.29, allocations: 0 / 383.5 MB, free: 14.7 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe 2>&1)