Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.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.Analog.Examples.OpAmps.Multivibrator,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator,fileNamePrefix="Modelica_3_2_3_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 4.0.0+maint.om/package.mo): time 0.0009646/0.0009646, allocations: 95.69 kB / 16.94 MB, free: 5.98 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.0009798/0.0009798, allocations: 179.5 kB / 17.82 MB, free: 5.652 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.466/1.466, allocations: 205.4 MB / 224 MB, free: 13.17 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.0005177/0.0005183, allocations: 19.28 kB / 280.9 MB, free: 3.621 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.108, allocations: 47.57 MB / 328.4 MB, free: 3.977 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.002886/0.111, allocations: 2.069 MB / 330.5 MB, free: 1.895 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00127/0.1123, allocations: 0.6909 MB / 331.2 MB, free: 1.195 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001249/0.1124, allocations: 4 kB / 331.2 MB, free: 1.191 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 6.568e-05/0.1125, allocations: 31.75 kB / 331.2 MB, free: 1.16 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002871/0.1128, allocations: 99.7 kB / 331.3 MB, free: 1.062 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001381/0.1129, allocations: 63.86 kB / 331.4 MB, free: 1 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002621/0.1132, allocations: 215.5 kB / 331.6 MB, free: 0.7891 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001638/0.1134, allocations: 76.98 kB / 331.7 MB, free: 0.7188 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.1135, allocations: 95.64 kB / 331.8 MB, free: 0.625 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001588/0.1137, allocations: 111.5 kB / 331.9 MB, free: 0.5156 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.147e-05/0.1137, allocations: 12 kB / 331.9 MB, free: 0.5039 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.544e-05/0.1138, allocations: 12 kB / 331.9 MB, free: 0.4922 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.338e-05/0.1138, allocations: 43.83 kB / 331.9 MB, free: 460 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.381e-05/0.1139, allocations: 69.58 kB / 332 MB, free: 384 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002024/0.1141, allocations: 203.6 kB / 332.2 MB, free: 180 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.806e-06/0.1141, allocations: 0 / 332.2 MB, free: 180 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1141, allocations: 4 kB / 332.2 MB, free: 176 kB / 270.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.1141, allocations: 0 / 332.2 MB, free: 176 kB / 270.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.000998/0.1151, allocations: 0.5264 MB / 332.7 MB, free: 15.59 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.1152, allocations: 8.031 kB / 332.7 MB, free: 15.59 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.308e-05/0.1152, allocations: 62.53 kB / 332.8 MB, free: 15.52 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.666e-05/0.1153, allocations: 27.72 kB / 332.8 MB, free: 15.49 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000315/0.1156, allocations: 246.4 kB / 333.1 MB, free: 15.21 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.262e-05/0.1157, allocations: 20.5 kB / 333.1 MB, free: 15.19 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.796e-05/0.1157, allocations: 24 kB / 333.1 MB, free: 15.17 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004398/0.1162, allocations: 220.9 kB / 333.3 MB, free: 14.94 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.1162, allocations: 0 / 333.3 MB, free: 14.94 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.353e-05/0.1162, allocations: 8 kB / 333.3 MB, free: 14.93 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.1162, allocations: 8 kB / 333.3 MB, free: 14.93 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004013/0.1166, allocations: 194.1 kB / 333.5 MB, free: 14.74 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001464/0.1181, allocations: 0.9124 MB / 334.5 MB, free: 13.75 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006201/0.1187, allocations: 230.6 kB / 334.7 MB, free: 13.51 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.601e-05/0.1188, allocations: 0 / 334.7 MB, free: 13.51 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.1188, allocations: 34.84 kB / 334.7 MB, free: 13.47 MB / 286.1 MB Notification: Performance of pre-optimization done (n=15): time 2.485e-06/0.1188, allocations: 0 / 334.7 MB, free: 13.47 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.001886/0.1207, allocations: 0.608 MB / 335.3 MB, free: 12.84 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.896e-05/0.1208, allocations: 63.3 kB / 335.4 MB, free: 12.76 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002279/0.121, allocations: 231 kB / 335.6 MB, free: 12.52 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.121, allocations: 29.7 kB / 335.6 MB, free: 12.49 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.1211, allocations: 167.9 kB / 335.8 MB, free: 12.32 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.907e-05/0.1212, allocations: 47.2 kB / 335.8 MB, free: 12.27 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.032e-05/0.1212, allocations: 12 kB / 335.9 MB, free: 12.26 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.1213, allocations: 330.8 kB / 336.2 MB, free: 11.93 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001687/0.1215, allocations: 63.97 kB / 336.2 MB, free: 11.87 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002039/0.1217, allocations: 117.9 kB / 336.4 MB, free: 11.73 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001909/0.1219, allocations: 71.92 kB / 336.4 MB, free: 11.66 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.1219, allocations: 8 kB / 336.4 MB, free: 11.65 MB / 286.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008537/0.1228, allocations: 362 kB / 336.8 MB, free: 11.29 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003168/0.1231, allocations: 0.6122 MB / 337.4 MB, free: 10.63 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.1232, allocations: 0 / 337.4 MB, free: 10.63 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004024/0.1236, allocations: 88.8 kB / 337.5 MB, free: 10.54 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001626/0.1237, allocations: 31.98 kB / 337.5 MB, free: 10.51 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002865/0.1266, allocations: 1.908 MB / 339.4 MB, free: 8.457 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001744/0.1268, allocations: 31.81 kB / 339.5 MB, free: 8.426 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.474e-05/0.1268, allocations: 4 kB / 339.5 MB, free: 8.422 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.1268, allocations: 4 kB / 339.5 MB, free: 8.418 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002922/0.1271, allocations: 172.6 kB / 339.6 MB, free: 8.246 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.1272, allocations: 4 kB / 339.6 MB, free: 8.242 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.86e-05/0.1272, allocations: 24.84 kB / 339.7 MB, free: 8.215 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001721/0.1274, allocations: 44.17 kB / 339.7 MB, free: 8.172 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009044/0.1283, allocations: 1.3 MB / 341 MB, free: 6.742 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001228/0.1285, allocations: 31.72 kB / 341 MB, free: 6.711 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.1285, allocations: 12 kB / 341 MB, free: 6.699 MB / 286.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.0001709/0.1287, allocations: 217 kB / 341.3 MB, free: 6.477 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.358e-05/0.1287, allocations: 15.81 kB / 341.3 MB, free: 6.461 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.504e-05/0.1288, allocations: 21.52 kB / 341.3 MB, free: 6.441 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.1288, allocations: 4 kB / 341.3 MB, free: 6.438 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.1288, allocations: 0 / 341.3 MB, free: 6.438 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.1288, allocations: 288 / 341.3 MB, free: 6.438 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003251/0.1291, allocations: 289.4 kB / 341.6 MB, free: 6.105 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1291, allocations: 4 kB / 341.6 MB, free: 6.102 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001209/0.1293, allocations: 27.92 kB / 341.6 MB, free: 6.074 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002769/0.1295, allocations: 80.78 kB / 341.7 MB, free: 5.992 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.1296, allocations: 8 kB / 341.7 MB, free: 5.984 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002424/0.132, allocations: 1.783 MB / 343.5 MB, free: 4.07 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.132, allocations: 7.953 kB / 343.5 MB, free: 4.062 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000915/0.1329, allocations: 451.9 kB / 343.9 MB, free: 3.602 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.19e-05/0.133, allocations: 96.84 kB / 344 MB, free: 3.488 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.57e-05/0.1331, allocations: 8 kB / 344 MB, free: 3.48 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002036/0.1333, allocations: 19.98 kB / 344.1 MB, free: 3.461 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.043e-05/0.1333, allocations: 11.98 kB / 344.1 MB, free: 3.449 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/0.1333, allocations: 8.062 kB / 344.1 MB, free: 3.441 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001659/0.1335, allocations: 160.6 kB / 344.2 MB, free: 3.285 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1335, allocations: 0 / 344.2 MB, free: 3.285 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006295/0.1341, allocations: 119.7 kB / 344.4 MB, free: 3.168 MB / 286.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.001257/0.1354, allocations: 0.9823 MB / 345.3 MB, free: 2.152 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001134/0.1366, allocations: 0.5491 MB / 345.9 MB, free: 1.578 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.1366, allocations: 0 / 345.9 MB, free: 1.578 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002956/0.1369, allocations: 215.2 kB / 346.1 MB, free: 1.355 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003648/0.1372, allocations: 36.59 kB / 346.1 MB, free: 1.316 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003179/0.1404, allocations: 2.375 MB / 348.5 MB, free: 14.87 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003686/0.1408, allocations: 0.7481 MB / 349.3 MB, free: 14.09 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001109/0.1409, allocations: 25.94 kB / 349.3 MB, free: 14.07 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000102/0.1411, allocations: 59.42 kB / 349.3 MB, free: 14.01 MB / 302.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1411, allocations: 0 / 349.3 MB, free: 14.01 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01888/0.1599, allocations: 4.798 MB / 354.1 MB, free: 9.219 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002314/0.1602, allocations: 222.6 kB / 354.3 MB, free: 8.977 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.797/1.957, allocations: 3.938 kB / 354.4 MB, free: 8.973 MB / 302.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator_res.mat does not exist to compare? outputFormat=mat