Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo", uses=false) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(EHPTlib.MapBased.TestingModels.TestOneFlangeConn,fileNamePrefix="EHPTlib_main_EHPTlib_MapBased_TestingModels_TestOneFlangeConn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestOneFlangeConn,fileNamePrefix="EHPTlib_main_EHPTlib_MapBased_TestingModels_TestOneFlangeConn",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.00108/0.00108, allocations: 108 kB / 15.58 MB, free: 184 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 195.6 kB / 16.5 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.201/1.201, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1316/0.1316, allocations: 8.006 MB / 298.3 MB, free: 2.402 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001074/0.001074, allocations: 55.91 kB / 360.6 MB, free: 14.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07679/0.07788, allocations: 51.18 MB / 411.8 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestOneFlangeConn): time 0.004748/0.08267, allocations: 4.145 MB / 416 MB, free: 6.859 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001748/0.08443, allocations: 1.418 MB / 417.4 MB, free: 5.438 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002125/0.08465, allocations: 15.94 kB / 417.4 MB, free: 5.422 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000318/0.08498, allocations: 154.8 kB / 417.5 MB, free: 5.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003902/0.08539, allocations: 202.5 kB / 417.7 MB, free: 5.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005403/0.08593, allocations: 378.8 kB / 418.1 MB, free: 4.703 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006514/0.0866, allocations: 0.8417 MB / 419 MB, free: 3.855 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005279/0.08713, allocations: 499.5 kB / 419.4 MB, free: 3.352 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000253/0.08739, allocations: 322.9 kB / 419.8 MB, free: 3.035 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000304/0.0877, allocations: 362.4 kB / 420.1 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.314e-05/0.0878, allocations: 99.98 kB / 420.2 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001499/0.08796, allocations: 128 kB / 420.3 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001659/0.08813, allocations: 207.4 kB / 420.5 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002925/0.08843, allocations: 414 kB / 420.9 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007292/0.08917, allocations: 1.028 MB / 422 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.08918, allocations: 0 / 422 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.08918, allocations: 0 / 422 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.0892, allocations: 0 / 422 MB, free: 0.8164 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.1293/0.2185, allocations: 1.109 MB / 423.1 MB, free: 44.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.2185, allocations: 12.75 kB / 423.1 MB, free: 44.48 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001034/0.2187, allocations: 106.8 kB / 423.2 MB, free: 44.44 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001219/0.2188, allocations: 83.72 kB / 423.3 MB, free: 44.4 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005251/0.2193, allocations: 0.5045 MB / 423.8 MB, free: 44.13 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.543e-05/0.2194, allocations: 50.56 kB / 423.8 MB, free: 44.13 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.247e-05/0.2194, allocations: 72.64 kB / 423.9 MB, free: 44.13 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001011/0.2205, allocations: 0.6677 MB / 424.6 MB, free: 44.05 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.386e-05/0.2205, allocations: 6.859 kB / 424.6 MB, free: 44.04 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.913e-05/0.2206, allocations: 29.69 kB / 424.6 MB, free: 44.04 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.2206, allocations: 16.09 kB / 424.6 MB, free: 44.04 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009098/0.2215, allocations: 493.4 kB / 425.1 MB, free: 44.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002646/0.2241, allocations: 2.579 MB / 427.7 MB, free: 42.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007494/0.2249, allocations: 431.2 kB / 428.1 MB, free: 42.45 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003231/0.2252, allocations: 172.1 kB / 428.3 MB, free: 42.38 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.129e-05/0.2253, allocations: 5.047 kB / 428.3 MB, free: 42.38 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004813/0.2258, allocations: 261.7 kB / 428.5 MB, free: 42.26 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.593e-06/0.2258, allocations: 0 / 428.5 MB, free: 42.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001294/0.2271, allocations: 0.6784 MB / 429.2 MB, free: 41.9 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/0.2271, allocations: 140.1 kB / 429.3 MB, free: 41.74 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004599/0.2276, allocations: 0.5725 MB / 429.9 MB, free: 41.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.73e-05/0.2276, allocations: 36.2 kB / 430 MB, free: 41.45 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000138/0.2278, allocations: 351.5 kB / 430.3 MB, free: 41.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.368e-05/0.2278, allocations: 102 kB / 430.4 MB, free: 41.1 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.551e-05/0.2279, allocations: 70.98 kB / 430.5 MB, free: 41.06 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.014e-05/0.228, allocations: 365.1 kB / 430.8 MB, free: 40.73 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003389/0.2283, allocations: 165.7 kB / 431 MB, free: 40.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003521/0.2287, allocations: 254.6 kB / 431.2 MB, free: 40.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006736/0.2294, allocations: 0.526 MB / 431.8 MB, free: 40.11 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.2294, allocations: 3.062 kB / 431.8 MB, free: 40.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008988/0.2303, allocations: 0.5937 MB / 432.4 MB, free: 39.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.586e-05/0.2303, allocations: 94.5 kB / 432.4 MB, free: 39.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.81e-06/0.2303, allocations: 3.25 kB / 432.4 MB, free: 39.72 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001191/0.2305, allocations: 26.33 kB / 432.5 MB, free: 39.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002836/0.2308, allocations: 85.8 kB / 432.6 MB, free: 39.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005897/0.2314, allocations: 1.374 MB / 433.9 MB, free: 38.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003639/0.2317, allocations: 79.52 kB / 434 MB, free: 38.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.912e-05/0.2318, allocations: 16.44 kB / 434 MB, free: 38.27 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004169/0.2322, allocations: 320.1 kB / 434.3 MB, free: 38.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003129/0.2325, allocations: 243.2 kB / 434.6 MB, free: 37.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006027/0.2331, allocations: 0.5216 MB / 435.1 MB, free: 37.54 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.633e-06/0.2331, allocations: 0 / 435.1 MB, free: 37.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0008181/0.234, allocations: 0.5629 MB / 435.7 MB, free: 37.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.525e-05/0.234, allocations: 90.95 kB / 435.7 MB, free: 37.15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.234, allocations: 8.281 kB / 435.8 MB, free: 37.15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.061e-05/0.2341, allocations: 21.17 kB / 435.8 MB, free: 37.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002482/0.2343, allocations: 77.36 kB / 435.9 MB, free: 37.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005191/0.2349, allocations: 1.382 MB / 437.2 MB, free: 35.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003452/0.2352, allocations: 72.78 kB / 437.3 MB, free: 35.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.479e-05/0.2353, allocations: 16.81 kB / 437.3 MB, free: 35.71 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 (tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,oneFlangeConn.limTau.state,$whenCondition1,oneFlangeConn.constPDC.integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001131/0.2354, allocations: 262.5 kB / 437.6 MB, free: 35.45 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.034e-05/0.2354, allocations: 68.59 kB / 437.6 MB, free: 35.42 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008503/0.2363, allocations: 0.4896 MB / 438.1 MB, free: 35.18 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.2363, allocations: 3.281 kB / 438.1 MB, free: 35.18 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.2363, allocations: 0 / 438.1 MB, free: 35.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.2363, allocations: 7.516 kB / 438.1 MB, free: 35.17 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001269/0.2376, allocations: 1.147 MB / 439.3 MB, free: 34.51 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.2376, allocations: 0 / 439.3 MB, free: 34.51 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002554/0.2379, allocations: 60.09 kB / 439.4 MB, free: 34.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.062e-05/0.2379, allocations: 21.95 kB / 439.4 MB, free: 34.49 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.592e-05/0.238, allocations: 10.38 kB / 439.4 MB, free: 34.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004994/0.2385, allocations: 1.38 MB / 440.8 MB, free: 33.08 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2385, allocations: 0 / 440.8 MB, free: 33.08 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001164/0.2397, allocations: 0.7707 MB / 441.5 MB, free: 32.65 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.296e-05/0.2397, allocations: 135.7 kB / 441.7 MB, free: 32.52 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.589e-05/0.2398, allocations: 7.188 kB / 441.7 MB, free: 32.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000336/0.2401, allocations: 47.58 kB / 441.7 MB, free: 32.51 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.548e-05/0.2402, allocations: 30.73 kB / 441.7 MB, free: 32.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.075e-05/0.2403, allocations: 9.656 kB / 441.8 MB, free: 32.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003175/0.2406, allocations: 408.1 kB / 442.2 MB, free: 32.32 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2406, allocations: 0 / 442.2 MB, free: 32.32 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006139/0.2412, allocations: 287.6 kB / 442.4 MB, free: 32.24 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (inertia.w,loadTorque.phi,oneFlangeConn.constPDC.integrator1.y) * Number of discrete variables: 4 ($whenCondition1,oneFlangeConn.limTau.state,tauRef.T_start,tauRef.count) * Number of discrete states: 2 (tauRef.count,oneFlangeConn.limTau.state) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001983/0.2432, allocations: 1.555 MB / 444 MB, free: 31.28 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001439/0.2446, allocations: 1.167 MB / 445.2 MB, free: 30.48 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2447, allocations: 0 / 445.2 MB, free: 30.48 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004648/0.2451, allocations: 421.9 kB / 445.6 MB, free: 30.18 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004744/0.2456, allocations: 110.1 kB / 445.7 MB, free: 30.14 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005918/0.2515, allocations: 5.521 MB / 451.2 MB, free: 26.95 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002436/0.2518, allocations: 0.8951 MB / 452.1 MB, free: 26.24 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001844/0.252, allocations: 55.38 kB / 452.1 MB, free: 26.23 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002114/0.2522, allocations: 216.8 kB / 452.4 MB, free: 26.07 MB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2522, allocations: 2.188 kB / 452.4 MB, free: 26.07 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.37/2.622, allocations: 12.57 MB / 464.9 MB, free: 24.73 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 22.76/25.38, allocations: 3.406 kB / 464.9 MB, free: 24.73 MB / 350.1 MB (rm -f EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe ; mkfifo EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe ; head -c 1048576 < EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe >> ../files/EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_main_EHPTlib_MapBased_TestingModels_TestOneFlangeConn_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 EHPTlib_main_EHPTlib_MapBased_TestingModels_TestOneFlangeConn.fmu > EHPTlib_main_EHPTlib.MapBased.TestingModels.TestOneFlangeConn.pipe 2>&1)