Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.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.OneSourceOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoad",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.001267/0.001267, allocations: 182.3 kB / 13.23 MB, free: 2.086 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 221.4 MB / 235.1 MB, free: 14.44 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008424/0.0008422, allocations: 91.27 kB / 286.1 MB, free: 12.97 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04804/0.04804, allocations: 8.098 MB / 345.1 MB, free: 1.906 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.022e-05/5.027e-05, allocations: 4 kB / 405.6 MB, free: 61.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1049, allocations: 52.52 MB / 458.1 MB, free: 9.348 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3903/0.4953, allocations: 79.46 MB / 0.5249 GB, free: 6.52 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001627/0.4955, allocations: 62.41 kB / 0.525 GB, free: 6.492 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01515/0.5106, allocations: 5.795 MB / 0.5307 GB, free: 1.82 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.5107, allocations: 0.6562 kB / 0.5307 GB, free: 1.82 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.394e-05/0.5107, allocations: 7.938 kB / 0.5307 GB, free: 1.812 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0009879/0.5117, allocations: 0.5049 MB / 0.5312 GB, free: 1.281 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.5117, allocations: 8.031 kB / 0.5312 GB, free: 1.273 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.997e-05/0.5118, allocations: 45.42 kB / 0.5312 GB, free: 1.227 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.847e-05/0.5118, allocations: 20.33 kB / 0.5312 GB, free: 1.207 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002848/0.5121, allocations: 230.7 kB / 0.5314 GB, free: 0.9609 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.5122, allocations: 7.297 kB / 0.5315 GB, free: 0.957 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.743e-05/0.5122, allocations: 10.69 kB / 0.5315 GB, free: 0.9492 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002854/0.5125, allocations: 171.4 kB / 0.5316 GB, free: 0.8359 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.5125, allocations: 4 kB / 0.5316 GB, free: 0.832 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.233e-05/0.5125, allocations: 3.25 kB / 0.5316 GB, free: 0.832 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.555e-06/0.5125, allocations: 11.89 kB / 0.5316 GB, free: 0.8203 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000226/0.5128, allocations: 157.7 kB / 0.5318 GB, free: 0.7305 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001111/0.5139, allocations: 0.7353 MB / 0.5325 GB, free: 76 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005087/0.5144, allocations: 204.7 kB / 0.5327 GB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001312/0.5146, allocations: 93.89 kB / 0.5328 GB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001498/0.5147, allocations: 88.91 kB / 0.5329 GB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.5148, allocations: 38.56 kB / 0.5329 GB, free: 15.74 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 1.883e-06/0.5148, allocations: 0 / 0.5329 GB, free: 15.74 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008161/0.5156, allocations: 323.1 kB / 0.5332 GB, free: 15.51 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.541e-05/0.5156, allocations: 55.41 kB / 0.5333 GB, free: 15.44 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001588/0.5158, allocations: 151.3 kB / 0.5334 GB, free: 15.31 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.461e-05/0.5158, allocations: 29.14 kB / 0.5335 GB, free: 15.28 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.154e-05/0.5159, allocations: 114.4 kB / 0.5336 GB, free: 15.17 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.784e-05/0.516, allocations: 54.39 kB / 0.5336 GB, free: 15.12 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.114e-05/0.516, allocations: 3.875 kB / 0.5336 GB, free: 15.12 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.5161, allocations: 329.8 kB / 0.5339 GB, free: 14.8 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001127/0.5163, allocations: 75.69 kB / 0.534 GB, free: 14.76 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/0.5164, allocations: 89.09 kB / 0.5341 GB, free: 14.71 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001423/0.5165, allocations: 89.91 kB / 0.5342 GB, free: 14.66 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.5165, allocations: 0 / 0.5342 GB, free: 14.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007417/0.5173, allocations: 354.9 kB / 0.5345 GB, free: 14.41 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.5173, allocations: 4 kB / 0.5345 GB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.5173, allocations: 4 kB / 0.5345 GB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006272/0.518, allocations: 139.1 kB / 0.5347 GB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.5181, allocations: 23.98 kB / 0.5347 GB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002204/0.5203, allocations: 1.881 MB / 0.5365 GB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000151/0.5204, allocations: 15.8 kB / 0.5365 GB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.022e-05/0.5205, allocations: 15.3 kB / 0.5365 GB, free: 12.57 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 (14): * Single equations (assignments): 13 * 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 {2 4} Notification: Performance of prepare postOptimizeDAE: time 8.468e-05/0.5206, allocations: 108.9 kB / 0.5366 GB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.125e-05/0.5206, allocations: 11.81 kB / 0.5367 GB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008288/0.5215, allocations: 371.4 kB / 0.537 GB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.5215, allocations: 0 / 0.537 GB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.766e-06/0.5215, allocations: 4 kB / 0.537 GB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.5215, allocations: 0 / 0.537 GB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003208/0.5218, allocations: 313 kB / 0.5373 GB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.5218, allocations: 0 / 0.5373 GB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.925e-05/0.5219, allocations: 19.98 kB / 0.5373 GB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005567/0.5225, allocations: 149.3 kB / 0.5375 GB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.561e-05/0.5225, allocations: 3.125 kB / 0.5375 GB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002052/0.5246, allocations: 1.87 MB / 0.5393 GB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.5246, allocations: 3.938 kB / 0.5393 GB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007694/0.5254, allocations: 428.7 kB / 0.5397 GB, free: 9.742 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.312e-05/0.5254, allocations: 88.02 kB / 0.5398 GB, free: 9.641 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.387e-05/0.5255, allocations: 6.812 kB / 0.5398 GB, free: 9.637 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001682/0.5256, allocations: 11.73 kB / 0.5398 GB, free: 9.629 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.372e-05/0.5257, allocations: 11.98 kB / 0.5398 GB, free: 9.617 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.995e-05/0.5257, allocations: 11.17 kB / 0.5398 GB, free: 9.609 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001084/0.5258, allocations: 134.5 kB / 0.54 GB, free: 9.496 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5258, allocations: 4 kB / 0.54 GB, free: 9.492 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003368/0.5262, allocations: 66.91 kB / 0.54 GB, free: 9.434 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 (13): * Single equations (assignments): 12 * 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 {2 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001109/0.5273, allocations: 0.9712 MB / 0.541 GB, free: 8.531 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00069/0.528, allocations: 363.5 kB / 0.5413 GB, free: 8.254 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.528, allocations: 0 / 0.5413 GB, free: 8.254 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004617/0.5285, allocations: 261.2 kB / 0.5416 GB, free: 8.039 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002191/0.5287, allocations: 20.17 kB / 0.5416 GB, free: 8.027 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006048/0.5293, allocations: 257.8 kB / 0.5418 GB, free: 7.781 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003263/0.5297, allocations: 0.7207 MB / 0.5426 GB, free: 7.035 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.794e-05/0.5298, allocations: 21.19 kB / 0.5426 GB, free: 7.016 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.069e-05/0.5298, allocations: 45.42 kB / 0.5426 GB, free: 6.992 MB / 362.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5298, allocations: 4 kB / 0.5426 GB, free: 6.988 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01828/0.5481, allocations: 5.403 MB / 0.5479 GB, free: 1.73 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001979/0.5484, allocations: 176.9 kB / 0.5481 GB, free: 1.5 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.717/2.266, allocations: 0 / 0.5481 GB, free: 1.5 MB / 362.7 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe 2>&1)