Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator,fileNamePrefix="Modelica_3_2_3_cpp_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_cpp_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009393/0.0009393, allocations: 173.8 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.398/1.398, allocations: 205.4 MB / 222.9 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007799/0.00078, allocations: 101.3 kB / 271.2 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002912/0.0002913, allocations: 12 kB / 327.6 MB, free: 15.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2494/0.2497, allocations: 47.58 MB / 375.2 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.002288/0.252, allocations: 2.185 MB / 377.4 MB, free: 43.71 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009352/0.253, allocations: 0.6697 MB / 378.1 MB, free: 43.16 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001349/0.2531, allocations: 4.344 kB / 378.1 MB, free: 43.16 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001116/0.2532, allocations: 31.84 kB / 378.1 MB, free: 43.14 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001989/0.2535, allocations: 77.02 kB / 378.2 MB, free: 43.07 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001273/0.2536, allocations: 61.62 kB / 378.2 MB, free: 43.02 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002528/0.2539, allocations: 289 kB / 378.5 MB, free: 42.85 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001642/0.254, allocations: 77.8 kB / 378.6 MB, free: 42.8 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001058/0.2541, allocations: 95.03 kB / 378.7 MB, free: 42.75 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000118/0.2543, allocations: 111.8 kB / 378.8 MB, free: 42.68 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.796e-05/0.2543, allocations: 13.53 kB / 378.8 MB, free: 42.68 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.894e-05/0.2544, allocations: 13.25 kB / 378.8 MB, free: 42.68 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.237e-05/0.2544, allocations: 41.47 kB / 378.9 MB, free: 42.64 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.612e-05/0.2545, allocations: 141.5 kB / 379 MB, free: 42.54 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001609/0.2547, allocations: 215.6 kB / 379.2 MB, free: 42.38 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.2547, allocations: 0 / 379.2 MB, free: 42.38 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2547, allocations: 0 / 379.2 MB, free: 42.38 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.2547, allocations: 1.281 kB / 379.2 MB, free: 42.38 MB / 298.7 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.0007098/0.2554, allocations: 0.522 MB / 379.7 MB, free: 41.9 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.2555, allocations: 10.16 kB / 379.7 MB, free: 41.9 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.879e-05/0.2555, allocations: 58.44 kB / 379.8 MB, free: 41.84 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.144e-05/0.2556, allocations: 27.09 kB / 379.8 MB, free: 41.83 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002183/0.2558, allocations: 244.1 kB / 380.1 MB, free: 41.58 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/0.2558, allocations: 18.38 kB / 380.1 MB, free: 41.57 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.829e-05/0.2559, allocations: 30.28 kB / 380.1 MB, free: 41.55 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004375/0.2563, allocations: 226.2 kB / 380.3 MB, free: 41.41 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.2563, allocations: 3.984 kB / 380.3 MB, free: 41.41 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.237e-05/0.2564, allocations: 10.78 kB / 380.3 MB, free: 41.4 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.333e-06/0.2564, allocations: 5.719 kB / 380.4 MB, free: 41.4 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004013/0.2568, allocations: 194.1 kB / 380.5 MB, free: 41.32 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001253/0.258, allocations: 0.9053 MB / 381.4 MB, free: 40.56 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005982/0.2587, allocations: 229 kB / 381.7 MB, free: 40.45 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002869/0.259, allocations: 125.7 kB / 381.8 MB, free: 40.39 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.141e-05/0.259, allocations: 1.5 kB / 381.8 MB, free: 40.39 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.679e-05/0.259, allocations: 40.03 kB / 381.8 MB, free: 40.34 MB / 298.7 MB Notification: Performance of pre-optimization done (n=15): time 1.363e-06/0.259, allocations: 0 / 381.8 MB, free: 40.34 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.001804/0.2608, allocations: 0.6015 MB / 382.4 MB, free: 40.03 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.706e-05/0.2609, allocations: 64.47 kB / 382.5 MB, free: 39.95 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001939/0.2611, allocations: 229 kB / 382.7 MB, free: 39.78 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.29e-05/0.2611, allocations: 26.89 kB / 382.7 MB, free: 39.75 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.474e-05/0.2612, allocations: 168.7 kB / 382.9 MB, free: 39.59 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.357e-05/0.2612, allocations: 49.52 kB / 383 MB, free: 39.55 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.053e-05/0.2612, allocations: 5.125 kB / 383 MB, free: 39.55 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.367e-05/0.2613, allocations: 331.9 kB / 383.3 MB, free: 39.22 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001586/0.2614, allocations: 60 kB / 383.3 MB, free: 39.2 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001762/0.2616, allocations: 120.4 kB / 383.5 MB, free: 39.1 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003164/0.2619, allocations: 188 kB / 383.7 MB, free: 38.98 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.262, allocations: 5.062 kB / 383.7 MB, free: 38.97 MB / 298.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008021/0.2628, allocations: 353.5 kB / 384 MB, free: 38.8 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.867e-05/0.2628, allocations: 135.6 kB / 384.1 MB, free: 38.65 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.2628, allocations: 1.156 kB / 384.1 MB, free: 38.65 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003602/0.2632, allocations: 85.61 kB / 384.2 MB, free: 38.61 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001536/0.2634, allocations: 43.75 kB / 384.3 MB, free: 38.6 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002376/0.2658, allocations: 1.879 MB / 386.1 MB, free: 36.96 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001731/0.2659, allocations: 28.25 kB / 386.2 MB, free: 36.95 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.604e-05/0.266, allocations: 6.094 kB / 386.2 MB, free: 36.95 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.392e-06/0.266, allocations: 4.031 kB / 386.2 MB, free: 36.95 MB / 298.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002765/0.2663, allocations: 170.5 kB / 386.3 MB, free: 36.86 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.2663, allocations: 5.422 kB / 386.3 MB, free: 36.86 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.745e-05/0.2663, allocations: 28.08 kB / 386.4 MB, free: 36.84 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001544/0.2665, allocations: 42.66 kB / 386.4 MB, free: 36.83 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005805/0.2671, allocations: 1.302 MB / 387.7 MB, free: 35.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001008/0.2672, allocations: 23.62 kB / 387.7 MB, free: 35.46 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.285e-05/0.2672, allocations: 14.22 kB / 387.8 MB, free: 35.45 MB / 298.7 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.000113/0.2673, allocations: 210.9 kB / 388 MB, free: 35.25 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.437e-05/0.2674, allocations: 21.92 kB / 388 MB, free: 35.23 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.049e-05/0.2674, allocations: 25.86 kB / 388 MB, free: 35.21 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.2674, allocations: 2.094 kB / 388 MB, free: 35.21 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.2675, allocations: 0 / 388 MB, free: 35.21 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.2675, allocations: 4.938 kB / 388 MB, free: 35.21 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009402/0.2684, allocations: 0.6358 MB / 388.7 MB, free: 34.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.2684, allocations: 0 / 388.7 MB, free: 34.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/0.2685, allocations: 39.86 kB / 388.7 MB, free: 34.51 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002315/0.2688, allocations: 72.8 kB / 388.8 MB, free: 34.43 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.2688, allocations: 8 kB / 388.8 MB, free: 34.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001698/0.2705, allocations: 1.752 MB / 390.5 MB, free: 32.54 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2705, allocations: 0 / 390.5 MB, free: 32.54 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007492/0.2713, allocations: 463.8 kB / 391 MB, free: 32.07 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.014e-05/0.2713, allocations: 96.83 kB / 391.1 MB, free: 31.96 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/0.2714, allocations: 8 kB / 391.1 MB, free: 31.95 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000175/0.2715, allocations: 23.98 kB / 391.1 MB, free: 31.93 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.52e-05/0.2716, allocations: 7.984 kB / 391.1 MB, free: 31.92 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.2716, allocations: 4 kB / 391.1 MB, free: 31.92 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001027/0.2717, allocations: 164.6 kB / 391.3 MB, free: 31.76 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2717, allocations: 0 / 391.3 MB, free: 31.76 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005032/0.2722, allocations: 119.7 kB / 391.4 MB, free: 31.64 MB / 298.7 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.0009497/0.2732, allocations: 0.9784 MB / 392.4 MB, free: 30.63 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009223/0.2741, allocations: 0.548 MB / 392.9 MB, free: 30.05 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.2741, allocations: 3.938 kB / 392.9 MB, free: 30.05 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002302/0.2743, allocations: 207.2 kB / 393.1 MB, free: 29.84 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004022/0.2748, allocations: 40.59 kB / 393.2 MB, free: 29.8 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002118/0.2769, allocations: 1.503 MB / 394.7 MB, free: 28.23 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001314/0.277, allocations: 0.7479 MB / 395.4 MB, free: 27.45 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.041e-05/0.2771, allocations: 63.41 kB / 395.5 MB, free: 27.39 MB / 298.7 MB Notification: Performance of SimCode: time 2.61e-07/0.2771, allocations: 0 / 395.5 MB, free: 27.39 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.912/3.189, allocations: 4.125 MB / 399.6 MB, free: 23.26 MB / 298.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator.fmu > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe 2>&1)