Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.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: translateModel(PowerSysPro.Examples.OneSourceOneLoadwithSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors") translateModel(PowerSysPro.Examples.OneSourceOneLoadwithSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 180.9 kB / 15.8 MB, free: 6.34 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.357/1.357, allocations: 223.2 MB / 239.7 MB, free: 1.781 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.0009772/0.0009772, allocations: 99.92 kB / 290.9 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.06234/0.06234, allocations: 8.102 MB / 350.1 MB, free: 2.715 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004179/0.0004179, allocations: 11.09 kB / 413.1 MB, free: 89.72 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1243, allocations: 52.52 MB / 465.6 MB, free: 42.07 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.371/0.4954, allocations: 79.37 MB / 0.5322 GB, free: 16.63 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001915/0.4956, allocations: 70.48 kB / 0.5323 GB, free: 16.63 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01815/0.5138, allocations: 7.731 MB / 0.5398 GB, free: 31.67 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.5138, allocations: 0 / 0.5398 GB, free: 31.67 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.628e-06/0.5138, allocations: 7.844 kB / 0.5398 GB, free: 31.66 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001096/0.5149, allocations: 0.5564 MB / 0.5404 GB, free: 31.24 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.515, allocations: 7.781 kB / 0.5404 GB, free: 31.24 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.766e-05/0.515, allocations: 31.39 kB / 0.5404 GB, free: 31.22 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001558/0.5152, allocations: 202.2 kB / 0.5406 GB, free: 31.01 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.5152, allocations: 16.06 kB / 0.5406 GB, free: 31 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.894e-05/0.5153, allocations: 23.44 kB / 0.5406 GB, free: 31 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003792/0.5157, allocations: 285.8 kB / 0.5409 GB, free: 30.95 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.5157, allocations: 0 / 0.5409 GB, free: 30.95 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.669e-05/0.5157, allocations: 15.67 kB / 0.5409 GB, free: 30.95 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-06/0.5157, allocations: 7.812 kB / 0.5409 GB, free: 30.95 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002905/0.516, allocations: 250.6 kB / 0.5412 GB, free: 30.93 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001331/0.5174, allocations: 0.9917 MB / 0.5421 GB, free: 30.47 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006075/0.518, allocations: 429.6 kB / 0.5425 GB, free: 30.23 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.471e-05/0.518, allocations: 11.84 kB / 0.5426 GB, free: 30.23 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.724e-05/0.5181, allocations: 36.05 kB / 0.5426 GB, free: 30.19 MB / 378.7 MB Notification: Performance of pre-optimization done (n=21): time 1.683e-06/0.5181, allocations: 0 / 0.5426 GB, free: 30.19 MB / 378.7 MB Notification: Performance of matching and sorting (n=21): time 0.0009317/0.519, allocations: 0.4966 MB / 0.5431 GB, free: 29.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.851e-05/0.5191, allocations: 84.92 kB / 0.5432 GB, free: 29.83 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001599/0.5192, allocations: 186.4 kB / 0.5433 GB, free: 29.73 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.5192, allocations: 29.39 kB / 0.5434 GB, free: 29.7 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.568e-05/0.5193, allocations: 150.5 kB / 0.5435 GB, free: 29.58 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.525e-05/0.5194, allocations: 69.16 kB / 0.5436 GB, free: 29.54 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.151e-05/0.5194, allocations: 11.66 kB / 0.5436 GB, free: 29.53 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.33e-05/0.5194, allocations: 327 kB / 0.5439 GB, free: 29.22 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.5195, allocations: 85.23 kB / 0.544 GB, free: 29.21 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001121/0.5197, allocations: 116.7 kB / 0.5441 GB, free: 29.18 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001211/0.5198, allocations: 94.72 kB / 0.5442 GB, free: 29.18 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.5198, allocations: 0 / 0.5442 GB, free: 29.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004674/0.5203, allocations: 335 kB / 0.5445 GB, free: 29.1 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.5203, allocations: 3.906 kB / 0.5445 GB, free: 29.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.5203, allocations: 464 / 0.5445 GB, free: 29.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003387/0.5206, allocations: 79.34 kB / 0.5446 GB, free: 29.08 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001685/0.5208, allocations: 42.73 kB / 0.5446 GB, free: 29.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001819/0.5227, allocations: 2.682 MB / 0.5472 GB, free: 26.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001662/0.5228, allocations: 27.44 kB / 0.5473 GB, free: 26.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.301e-05/0.5229, allocations: 13.75 kB / 0.5473 GB, free: 26.52 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (27): * Single equations (assignments): 25 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001366/0.523, allocations: 137.4 kB / 0.5474 GB, free: 26.4 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.522e-05/0.5231, allocations: 21.06 kB / 0.5474 GB, free: 26.39 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004943/0.5236, allocations: 277.6 kB / 0.5477 GB, free: 26.32 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.5236, allocations: 3.875 kB / 0.5477 GB, free: 26.32 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.5236, allocations: 0 / 0.5477 GB, free: 26.32 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.5236, allocations: 6.219 kB / 0.5477 GB, free: 26.32 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008609/0.5245, allocations: 0.7399 MB / 0.5484 GB, free: 25.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.5245, allocations: 0 / 0.5484 GB, free: 25.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001041/0.5246, allocations: 34.8 kB / 0.5485 GB, free: 25.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002569/0.5249, allocations: 69.17 kB / 0.5485 GB, free: 25.88 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.5249, allocations: 8.312 kB / 0.5485 GB, free: 25.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001789/0.5267, allocations: 2.683 MB / 0.5512 GB, free: 23.35 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.5267, allocations: 0 / 0.5512 GB, free: 23.35 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004588/0.5272, allocations: 425.6 kB / 0.5516 GB, free: 23.09 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.734e-05/0.5272, allocations: 107.5 kB / 0.5517 GB, free: 22.98 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.225e-05/0.5273, allocations: 4.188 kB / 0.5517 GB, free: 22.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002045/0.5275, allocations: 20.22 kB / 0.5517 GB, free: 22.98 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.245e-05/0.5275, allocations: 20.27 kB / 0.5517 GB, free: 22.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.5275, allocations: 3.844 kB / 0.5517 GB, free: 22.98 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001367/0.5277, allocations: 155.2 kB / 0.5519 GB, free: 22.9 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5277, allocations: 3.938 kB / 0.5519 GB, free: 22.89 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003758/0.5281, allocations: 76.5 kB / 0.5519 GB, free: 22.89 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (19): * Single equations (assignments): 17 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001671/0.5282, allocations: 112.4 kB / 0.552 GB, free: 22.79 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006104/0.5288, allocations: 448.1 kB / 0.5525 GB, free: 22.56 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.5289, allocations: 192 / 0.5525 GB, free: 22.56 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003469/0.5292, allocations: 332.7 kB / 0.5528 GB, free: 22.33 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002814/0.5295, allocations: 22.03 kB / 0.5528 GB, free: 22.33 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005794/0.5301, allocations: 0.4927 MB / 0.5533 GB, free: 22.02 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002785/0.5304, allocations: 0.7473 MB / 0.554 GB, free: 21.32 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001228/0.5305, allocations: 31.06 kB / 0.554 GB, free: 21.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.377e-05/0.5306, allocations: 24.41 kB / 0.5541 GB, free: 21.3 MB / 378.7 MB Notification: Performance of SimCode: time 2.61e-07/0.5306, allocations: 0 / 0.5541 GB, free: 21.3 MB / 378.7 MB Notification: Performance of Templates: time 0.005501/0.5361, allocations: 2.776 MB / 0.5568 GB, free: 21.1 MB / 378.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.pipe 2>&1)