Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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) 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) Running command: "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 177.6 kB / 8.045 MB, free: 1.027 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 221.5 MB / 230 MB, free: 7.508 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008837/0.0008837, allocations: 92.8 kB / 280.9 MB, free: 5.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04577/0.04577, allocations: 8.096 MB / 339.8 MB, free: 6.996 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.173e-05/3.189e-05, allocations: 3.844 kB / 398.6 MB, free: 49.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.104, allocations: 52.53 MB / 451.1 MB, free: 5.277 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1044/0.2084, allocations: 80.57 MB / 0.5192 GB, free: 4.602 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001977/0.2087, allocations: 67.97 kB / 0.5193 GB, free: 4.535 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2716/0.4803, allocations: 14.61 MB / 0.5335 GB, free: 78.42 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4803, allocations: 0 / 0.5335 GB, free: 78.42 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.669e-05/0.4804, allocations: 7.219 kB / 0.5335 GB, free: 78.42 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.003083/0.4834, allocations: 0.9673 MB / 0.5345 GB, free: 77.93 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.4835, allocations: 13.14 kB / 0.5345 GB, free: 77.93 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001214/0.4836, allocations: 50.47 kB / 0.5345 GB, free: 77.9 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005005/0.4841, allocations: 358.5 kB / 0.5349 GB, free: 77.66 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/0.4842, allocations: 11.12 kB / 0.5349 GB, free: 77.66 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.883e-05/0.4842, allocations: 20.94 kB / 0.5349 GB, free: 77.66 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008366/0.4851, allocations: 0.5031 MB / 0.5354 GB, free: 77.66 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008515/0.4859, allocations: 0.5213 MB / 0.5359 GB, free: 77.58 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.486, allocations: 0 / 0.5359 GB, free: 77.58 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.457e-05/0.486, allocations: 1 kB / 0.5359 GB, free: 77.58 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.026e-05/0.486, allocations: 8.625 kB / 0.5359 GB, free: 77.58 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003071/0.4891, allocations: 2.335 MB / 0.5382 GB, free: 76.22 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008899/0.49, allocations: 0.7318 MB / 0.5389 GB, free: 75.75 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003385/0.4904, allocations: 308.4 kB / 0.5392 GB, free: 75.59 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001612/0.4905, allocations: 94.11 kB / 0.5393 GB, free: 75.49 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/0.4906, allocations: 42.45 kB / 0.5393 GB, free: 75.44 MB / 362.7 MB Notification: Performance of pre-optimization done (n=51): time 1.523e-06/0.4906, allocations: 2.875 kB / 0.5393 GB, free: 75.44 MB / 362.7 MB Notification: Performance of matching and sorting (n=51): time 0.003298/0.4939, allocations: 1.139 MB / 0.5405 GB, free: 74.79 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.468e-05/0.4939, allocations: 107.1 kB / 0.5406 GB, free: 74.67 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002186/0.4942, allocations: 240.4 kB / 0.5408 GB, free: 74.51 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.02e-05/0.4942, allocations: 25.7 kB / 0.5408 GB, free: 74.48 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.293e-05/0.4943, allocations: 196 kB / 0.541 GB, free: 74.3 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.657e-05/0.4944, allocations: 165 kB / 0.5412 GB, free: 74.16 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.241e-05/0.4944, allocations: 4 kB / 0.5412 GB, free: 74.16 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.89e-05/0.4945, allocations: 354.5 kB / 0.5415 GB, free: 73.81 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002884/0.4948, allocations: 254 kB / 0.5417 GB, free: 73.68 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003052/0.4951, allocations: 287.8 kB / 0.542 GB, free: 73.52 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000658/0.4958, allocations: 313.2 kB / 0.5423 GB, free: 73.35 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.4958, allocations: 0 / 0.5423 GB, free: 73.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.003262/0.4991, allocations: 1.196 MB / 0.5435 GB, free: 72.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/0.4991, allocations: 9.078 kB / 0.5435 GB, free: 72.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.4991, allocations: 0 / 0.5435 GB, free: 72.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003004/0.5021, allocations: 0.6805 MB / 0.5442 GB, free: 72.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000317/0.5025, allocations: 71.89 kB / 0.5442 GB, free: 72.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005326/0.5078, allocations: 3.641 MB / 0.5478 GB, free: 68.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004869/0.5083, allocations: 31.59 kB / 0.5478 GB, free: 68.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.388e-05/0.5084, allocations: 20.05 kB / 0.5478 GB, free: 68.25 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * 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 {6 10} Notification: Performance of prepare postOptimizeDAE: time 0.0001532/0.5085, allocations: 108.9 kB / 0.5479 GB, free: 68.13 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003105/0.5116, allocations: 1.152 MB / 0.5491 GB, free: 66.97 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.096e-05/0.5117, allocations: 31.62 kB / 0.5491 GB, free: 66.94 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003371/0.5151, allocations: 1.283 MB / 0.5503 GB, free: 65.64 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.5151, allocations: 4 kB / 0.5503 GB, free: 65.63 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.5151, allocations: 0 / 0.5503 GB, free: 65.63 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.5152, allocations: 7.984 kB / 0.5503 GB, free: 65.62 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00396/0.5191, allocations: 1.978 MB / 0.5523 GB, free: 63.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.5191, allocations: 4 kB / 0.5523 GB, free: 63.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000282/0.5194, allocations: 79.89 kB / 0.5524 GB, free: 63.53 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002958/0.5224, allocations: 0.6775 MB / 0.553 GB, free: 62.85 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.597e-05/0.5225, allocations: 3.984 kB / 0.553 GB, free: 62.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005434/0.5279, allocations: 3.71 MB / 0.5566 GB, free: 59.03 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.5279, allocations: 0 / 0.5566 GB, free: 59.03 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005479/0.5334, allocations: 1.288 MB / 0.5579 GB, free: 57.72 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002131/0.5337, allocations: 124.5 kB / 0.558 GB, free: 57.58 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001244/0.5338, allocations: 0 / 0.558 GB, free: 57.58 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00072/0.5346, allocations: 19.98 kB / 0.558 GB, free: 57.56 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001859/0.5348, allocations: 40.5 kB / 0.5581 GB, free: 57.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.143e-05/0.5349, allocations: 19.98 kB / 0.5581 GB, free: 57.5 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002629/0.5351, allocations: 190 kB / 0.5583 GB, free: 57.31 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.5352, allocations: 0 / 0.5583 GB, free: 57.31 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001067/0.5362, allocations: 171.8 kB / 0.5584 GB, free: 57.14 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 43 * 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 {6 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.006324/0.5426, allocations: 1.84 MB / 0.5602 GB, free: 55.27 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003294/0.5459, allocations: 0.9143 MB / 0.5611 GB, free: 54.35 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.5459, allocations: 0 / 0.5611 GB, free: 54.35 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002846/0.5488, allocations: 0.6597 MB / 0.5618 GB, free: 53.68 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005539/0.5494, allocations: 31.27 kB / 0.5618 GB, free: 53.65 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001847/0.5512, allocations: 0.585 MB / 0.5624 GB, free: 53.02 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002656/0.5515, allocations: 0.8294 MB / 0.5632 GB, free: 52.17 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003921/0.5519, allocations: 55.23 kB / 0.5632 GB, free: 52.12 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002667/0.5522, allocations: 139.4 kB / 0.5634 GB, free: 51.98 MB / 362.7 MB Notification: Performance of SimCode: time 7.61e-07/0.5522, allocations: 4 kB / 0.5634 GB, free: 51.98 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04777/0.6, allocations: 13.45 MB / 0.5765 GB, free: 38.56 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002045/0.6003, allocations: 172.3 kB / 0.5767 GB, free: 38.37 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.108/2.709, allocations: 0 / 0.5767 GB, free: 38.37 MB / 362.7 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithSensors.pipe 2>&1)