Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) 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: translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|feedback.y|hold.y|sample1.y|sample2.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|feedback.y|hold.y|sample1.y|sample2.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009258/0.0009258, allocations: 175.7 kB / 16.77 MB, free: 5.047 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.259/1.259, allocations: 205 MB / 222.6 MB, free: 9.145 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.0007304/0.0007305, allocations: 96.8 kB / 270.5 MB, free: 8.672 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06663/0.06663, allocations: 12.56 MB / 331 MB, free: 12.07 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000339/0.000339, allocations: 12 kB / 391.7 MB, free: 66.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06805/0.06841, allocations: 49.98 MB / 441.7 MB, free: 16.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3): time 0.001406/0.06985, allocations: 1.408 MB / 443.1 MB, free: 14.98 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003195/0.07019, allocations: 163.4 kB / 443.3 MB, free: 14.82 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.739e-05/0.07028, allocations: 7.938 kB / 443.3 MB, free: 14.81 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.251e-05/0.07033, allocations: 0 / 443.3 MB, free: 14.81 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001062/0.07044, allocations: 7.922 kB / 443.3 MB, free: 14.8 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002027/0.07065, allocations: 39.91 kB / 443.3 MB, free: 14.76 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.341e-05/0.07074, allocations: 47.92 kB / 443.4 MB, free: 14.71 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.562e-05/0.07084, allocations: 27.98 kB / 443.4 MB, free: 14.69 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.817e-05/0.07087, allocations: 23.78 kB / 443.4 MB, free: 14.66 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.031e-05/0.07092, allocations: 23.86 kB / 443.4 MB, free: 14.64 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.07094, allocations: 0 / 443.4 MB, free: 14.64 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.07e-05/0.07096, allocations: 0 / 443.4 MB, free: 14.64 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.198e-05/0.071, allocations: 19.94 kB / 443.5 MB, free: 14.62 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.559e-05/0.07103, allocations: 27.73 kB / 443.5 MB, free: 14.59 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.902e-05/0.07112, allocations: 64 kB / 443.5 MB, free: 14.53 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.07113, allocations: 0 / 443.5 MB, free: 14.53 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.07114, allocations: 0 / 443.5 MB, free: 14.53 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.426e-06/0.07114, allocations: 0 / 443.5 MB, free: 14.53 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003425/0.07149, allocations: 371.1 kB / 443.9 MB, free: 14.12 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.07153, allocations: 8.031 kB / 443.9 MB, free: 14.11 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.117e-05/0.07157, allocations: 16.84 kB / 443.9 MB, free: 14.09 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.07172, allocations: 205 kB / 444.1 MB, free: 13.86 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.534e-06/0.07173, allocations: 4.375 kB / 444.1 MB, free: 13.85 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.359e-05/0.07175, allocations: 8.312 kB / 444.1 MB, free: 13.84 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002749/0.07203, allocations: 166.4 kB / 444.3 MB, free: 13.66 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.07205, allocations: 192 / 444.3 MB, free: 13.66 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.07207, allocations: 7.938 kB / 444.3 MB, free: 13.65 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.07208, allocations: 4 kB / 444.3 MB, free: 13.65 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001006/0.07219, allocations: 39.92 kB / 444.4 MB, free: 13.61 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002828/0.07248, allocations: 373.7 kB / 444.7 MB, free: 13.19 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001843/0.07267, allocations: 115.8 kB / 444.8 MB, free: 13.05 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.393e-05/0.07278, allocations: 58.69 kB / 444.9 MB, free: 12.98 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.07281, allocations: 3.984 kB / 444.9 MB, free: 12.98 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.61e-05/0.07283, allocations: 42.55 kB / 444.9 MB, free: 12.93 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 1.412e-06/0.07284, allocations: 0 / 444.9 MB, free: 12.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.000286/0.07313, allocations: 133.6 kB / 445.1 MB, free: 12.79 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.705e-05/0.07317, allocations: 106.8 kB / 445.2 MB, free: 12.66 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.438e-05/0.07325, allocations: 135.7 kB / 445.3 MB, free: 12.52 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.736e-06/0.07327, allocations: 29.7 kB / 445.3 MB, free: 12.48 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.887e-05/0.0733, allocations: 96.3 kB / 445.4 MB, free: 12.39 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.974e-05/0.07334, allocations: 11.98 kB / 445.4 MB, free: 12.38 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.078e-05/0.07336, allocations: 13.72 kB / 445.5 MB, free: 12.36 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.312e-05/0.07341, allocations: 322.8 kB / 445.8 MB, free: 12.03 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.45e-05/0.07346, allocations: 8 kB / 445.8 MB, free: 12.02 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.339e-05/0.07352, allocations: 79.66 kB / 445.9 MB, free: 11.92 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001001/0.07363, allocations: 103.6 kB / 446 MB, free: 11.79 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.07364, allocations: 3.938 kB / 446 MB, free: 11.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001507/0.0738, allocations: 113.4 kB / 446.1 MB, free: 11.67 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.07382, allocations: 4 kB / 446.1 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.07383, allocations: 4 kB / 446.1 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.07385, allocations: 0 / 446.1 MB, free: 11.66 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.341e-05/0.07392, allocations: 23.98 kB / 446.1 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.07393, allocations: 4 kB / 446.1 MB, free: 11.63 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.764e-05/0.07398, allocations: 12.09 kB / 446.1 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.074, allocations: 15.94 kB / 446.1 MB, free: 11.61 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.705e-05/0.07406, allocations: 126.6 kB / 446.3 MB, free: 11.47 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.334e-05/0.07411, allocations: 7.906 kB / 446.3 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.849e-05/0.07414, allocations: 12.72 kB / 446.3 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.07415, allocations: 192 / 446.3 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.07416, allocations: 4 kB / 446.3 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.864e-05/0.0742, allocations: 104.9 kB / 446.4 MB, free: 11.33 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.07422, allocations: 4 kB / 446.4 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.576e-05/0.07432, allocations: 8 kB / 446.4 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.923e-05/0.07436, allocations: 7.938 kB / 446.4 MB, free: 11.31 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001825/0.07455, allocations: 339.4 kB / 446.7 MB, free: 10.97 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002814/0.07484, allocations: 462 kB / 447.2 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.678e-05/0.07492, allocations: 39.92 kB / 447.2 MB, free: 10.46 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.482e-05/0.07497, allocations: 109.9 kB / 447.3 MB, free: 10.35 MB / 298.7 MB Notification: Performance of Backend: time 3.51e-07/0.07497, allocations: 0 / 447.3 MB, free: 10.35 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004778/0.07546, allocations: 106.3 kB / 447.4 MB, free: 10.24 MB / 298.7 MB Notification: Performance of SimCode: time 0.0004859/0.07595, allocations: 0.6655 MB / 448.1 MB, free: 9.523 MB / 298.7 MB Notification: Performance of Templates: time 0.00241/0.07838, allocations: 0.6328 MB / 448.7 MB, free: 8.891 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3.pipe 2>&1)