Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.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/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.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(ThermoPower.Test.ElectricalComponents.TestElectrical7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00102/0.00102, allocations: 181.4 kB / 8.346 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.373/1.373, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008227/0.0008228, allocations: 84.5 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.424/0.424, allocations: 48.77 MB / 358.8 MB, free: 53.1 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.298e-05/1.3e-05, allocations: 0 / 425.3 MB, free: 8.238 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1157, allocations: 60.25 MB / 485.5 MB, free: 11.84 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3832/0.4989, allocations: 87.81 MB / 0.5599 GB, free: 13.33 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002159/0.4992, allocations: 75.95 kB / 0.56 GB, free: 13.25 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02105/0.5203, allocations: 7.406 MB / 0.5672 GB, free: 5.895 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.5203, allocations: 0 / 0.5672 GB, free: 5.895 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.941e-05/0.5204, allocations: 15.98 kB / 0.5672 GB, free: 5.879 MB / 395.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.0009767/0.5213, allocations: 0.646 MB / 0.5679 GB, free: 5.191 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.5214, allocations: 8.031 kB / 0.5679 GB, free: 5.184 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.996e-05/0.5215, allocations: 51.44 kB / 0.5679 GB, free: 5.133 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005134/0.522, allocations: 366.1 kB / 0.5683 GB, free: 4.742 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/0.522, allocations: 18.56 kB / 0.5683 GB, free: 4.727 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.453e-05/0.5221, allocations: 23.91 kB / 0.5683 GB, free: 4.703 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003359/0.5224, allocations: 182.9 kB / 0.5685 GB, free: 4.527 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000421/0.5229, allocations: 258.2 kB / 0.5687 GB, free: 4.262 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.5229, allocations: 0 / 0.5687 GB, free: 4.262 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.274e-05/0.5229, allocations: 1.031 kB / 0.5687 GB, free: 4.262 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/0.5229, allocations: 11.95 kB / 0.5687 GB, free: 4.25 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001654/0.5246, allocations: 1.115 MB / 0.5698 GB, free: 3.07 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004163/0.525, allocations: 241.9 kB / 0.5701 GB, free: 2.824 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001661/0.5252, allocations: 114.1 kB / 0.5702 GB, free: 2.711 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.867e-05/0.5252, allocations: 4.281 kB / 0.5702 GB, free: 2.707 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/0.5253, allocations: 38.83 kB / 0.5702 GB, free: 2.66 MB / 395.1 MB Notification: Performance of pre-optimization done (n=34): time 1.432e-06/0.5253, allocations: 0 / 0.5702 GB, free: 2.66 MB / 395.1 MB Notification: Performance of matching and sorting (n=36): time 0.001206/0.5265, allocations: 0.7097 MB / 0.5709 GB, free: 1.902 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.395e-05/0.5265, allocations: 59.41 kB / 0.571 GB, free: 1.832 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003243/0.5269, allocations: 309.2 kB / 0.5713 GB, free: 1.527 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.388e-05/0.5269, allocations: 25.7 kB / 0.5713 GB, free: 1.496 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/0.527, allocations: 224.5 kB / 0.5715 GB, free: 1.27 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000105/0.5272, allocations: 126.1 kB / 0.5716 GB, free: 1.145 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.396e-05/0.5272, allocations: 0 / 0.5716 GB, free: 1.145 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.5273, allocations: 350.8 kB / 0.5719 GB, free: 0.793 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001453/0.5275, allocations: 80.88 kB / 0.572 GB, free: 0.7148 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001653/0.5276, allocations: 128.1 kB / 0.5721 GB, free: 0.5742 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001813/0.5278, allocations: 97.78 kB / 0.5722 GB, free: 492 kB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.5278, allocations: 4 kB / 0.5722 GB, free: 488 kB / 395.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0004422/0.5283, allocations: 301.8 kB / 0.5725 GB, free: 180 kB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.5283, allocations: 8 kB / 0.5725 GB, free: 172 kB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.5283, allocations: 0 / 0.5725 GB, free: 172 kB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.5284, allocations: 4 kB / 0.5725 GB, free: 168 kB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007404/0.5291, allocations: 154.6 kB / 0.5727 GB, free: 16 kB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009856/0.5301, allocations: 1.281 MB / 0.5739 GB, free: 14.62 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002423/0.5304, allocations: 20 kB / 0.574 GB, free: 14.6 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.543e-05/0.5304, allocations: 12 kB / 0.574 GB, free: 14.59 MB / 411.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001033/0.5305, allocations: 108.9 kB / 0.5741 GB, free: 14.48 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.803e-05/0.5306, allocations: 43.44 kB / 0.5741 GB, free: 14.43 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004884/0.5311, allocations: 288.5 kB / 0.5744 GB, free: 14.15 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.5311, allocations: 4 kB / 0.5744 GB, free: 14.15 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.5311, allocations: 4 kB / 0.5744 GB, free: 14.14 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/0.5311, allocations: 3.984 kB / 0.5744 GB, free: 14.14 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009821/0.5321, allocations: 0.7163 MB / 0.5751 GB, free: 13.38 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.5321, allocations: 3.938 kB / 0.5751 GB, free: 13.38 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004488/0.5326, allocations: 87.89 kB / 0.5752 GB, free: 13.29 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.5326, allocations: 0 / 0.5752 GB, free: 13.29 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.274e-05/0.5326, allocations: 4 kB / 0.5752 GB, free: 13.29 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.5326, allocations: 0 / 0.5752 GB, free: 13.29 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.5326, allocations: 4 kB / 0.5752 GB, free: 13.29 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006188/0.5333, allocations: 496.5 kB / 0.5757 GB, free: 12.78 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001465/0.5334, allocations: 144.5 kB / 0.5758 GB, free: 12.62 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.857e-05/0.5335, allocations: 96 / 0.5758 GB, free: 12.62 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002302/0.5337, allocations: 7.938 kB / 0.5758 GB, free: 12.61 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.368e-05/0.5338, allocations: 27.95 kB / 0.5758 GB, free: 12.59 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.831e-05/0.5338, allocations: 8 kB / 0.5759 GB, free: 12.58 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.0002373/0.5341, allocations: 246.9 kB / 0.5761 GB, free: 12.34 MB / 411.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5341, allocations: 0 / 0.5761 GB, free: 12.34 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0003609/0.5344, allocations: 79.94 kB / 0.5762 GB, free: 12.26 MB / 411.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 9 (gen_a.phi,gen_a.omega_m,gen_a.omega_e_filt,gen_b.phi,gen_b.omega_m,gen_b.omega_e_filt,torqueGen_a.y,torqueGen_b.y,secondaryController.powerOffset) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001595/0.5346, allocations: 105.2 kB / 0.5763 GB, free: 12.15 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0005014/0.5351, allocations: 243.8 kB / 0.5765 GB, free: 11.91 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/0.5351, allocations: 12 kB / 0.5765 GB, free: 11.9 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001768/0.5353, allocations: 115.9 kB / 0.5766 GB, free: 11.79 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004579/0.5358, allocations: 67.14 kB / 0.5767 GB, free: 11.73 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001617/0.5374, allocations: 0.9192 MB / 0.5776 GB, free: 10.79 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004313/0.5378, allocations: 0.8391 MB / 0.5784 GB, free: 9.93 MB / 411.1 MB Notification: Performance of simCode: alias equations: time 0.0001873/0.538, allocations: 47.25 kB / 0.5784 GB, free: 9.883 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001118/0.5382, allocations: 39.42 kB / 0.5785 GB, free: 9.844 MB / 411.1 MB Notification: Performance of SimCode: time 2.7e-07/0.5382, allocations: 0 / 0.5785 GB, free: 9.844 MB / 411.1 MB Notification: Performance of Templates: time 0.00753/0.5457, allocations: 3.599 MB / 0.582 GB, free: 6.273 MB / 411.1 MB make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.makefile (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical7.pipe 2>&1)