Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.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/PowerSysPro 2.3.1-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/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(PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoadOneBank",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoadOneBank",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.0007985/0.0007985, allocations: 103 kB / 16.07 MB, free: 32 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.0008449/0.0008451, allocations: 181.8 kB / 16.96 MB, free: 6.879 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.344/1.344, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1588/0.1588, allocations: 8.092 MB / 300.2 MB, free: 2.906 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003171/0.0003173, allocations: 8 kB / 363.6 MB, free: 12.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09009/0.09044, allocations: 52.52 MB / 416.1 MB, free: 8.305 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank): time 0.001558/0.09203, allocations: 1.084 MB / 417.2 MB, free: 7.219 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002239/0.0943, allocations: 1.497 MB / 418.7 MB, free: 5.707 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001128/0.09444, allocations: 4 kB / 418.7 MB, free: 5.703 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003476/0.0948, allocations: 99.59 kB / 418.8 MB, free: 5.605 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002795/0.09509, allocations: 87.58 kB / 418.9 MB, free: 5.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001575/0.09667, allocations: 0.8601 MB / 419.7 MB, free: 4.656 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003164/0.097, allocations: 179.1 kB / 419.9 MB, free: 4.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.09715, allocations: 57.64 kB / 420 MB, free: 4.426 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.608e-05/0.09725, allocations: 67.66 kB / 420 MB, free: 4.359 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001738/0.09743, allocations: 99.59 kB / 420.1 MB, free: 4.262 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.8e-05/0.09747, allocations: 8 kB / 420.1 MB, free: 4.254 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003812/0.09785, allocations: 195.8 kB / 420.3 MB, free: 4.062 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.547e-05/0.0979, allocations: 31.84 kB / 420.4 MB, free: 4.031 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001029/0.09801, allocations: 109.2 kB / 420.5 MB, free: 3.918 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004696/0.09848, allocations: 327.3 kB / 420.8 MB, free: 3.598 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.0985, allocations: 0 / 420.8 MB, free: 3.598 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.72e-07/0.0985, allocations: 0 / 420.8 MB, free: 3.598 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.09851, allocations: 0 / 420.8 MB, free: 3.598 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001733/0.1003, allocations: 0.6551 MB / 421.4 MB, free: 2.887 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/0.1003, allocations: 8.031 kB / 421.4 MB, free: 2.879 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.57e-05/0.1004, allocations: 50.67 kB / 421.5 MB, free: 2.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.834e-05/0.1005, allocations: 28.59 kB / 421.5 MB, free: 2.793 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002536/0.1007, allocations: 228.1 kB / 421.7 MB, free: 2.531 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.1007, allocations: 12.66 kB / 421.8 MB, free: 2.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.083e-05/0.1008, allocations: 20.3 kB / 421.8 MB, free: 2.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003357/0.1011, allocations: 212.4 kB / 422 MB, free: 2.289 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.507e-06/0.1011, allocations: 3.938 kB / 422 MB, free: 2.285 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.135e-05/0.1012, allocations: 4 kB / 422 MB, free: 2.281 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.1012, allocations: 8 kB / 422 MB, free: 2.273 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002872/0.1015, allocations: 200.8 kB / 422.2 MB, free: 2.078 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001083/0.1026, allocations: 0.8539 MB / 423.1 MB, free: 1.137 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006499/0.1032, allocations: 367.6 kB / 423.4 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001874/0.1034, allocations: 136.8 kB / 423.5 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.329e-05/0.1035, allocations: 15.97 kB / 423.6 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.1035, allocations: 30.56 kB / 423.6 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.553e-06/0.1035, allocations: 4 kB / 423.6 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.1661/0.2696, allocations: 0.7237 MB / 424.3 MB, free: 41.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.61e-05/0.2697, allocations: 52.72 kB / 424.4 MB, free: 41.53 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002363/0.2699, allocations: 183.7 kB / 424.5 MB, free: 41.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.344e-05/0.27, allocations: 35.52 kB / 424.6 MB, free: 41.4 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.666e-05/0.2701, allocations: 120 kB / 424.7 MB, free: 41.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.508e-05/0.2701, allocations: 78 kB / 424.8 MB, free: 41.29 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.247e-05/0.2702, allocations: 33.27 kB / 424.8 MB, free: 41.28 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.052e-05/0.2703, allocations: 330.1 kB / 425.1 MB, free: 40.96 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001851/0.2705, allocations: 117.1 kB / 425.2 MB, free: 40.96 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001694/0.2706, allocations: 122.7 kB / 425.4 MB, free: 40.96 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003938/0.271, allocations: 279.2 kB / 425.6 MB, free: 40.95 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.271, allocations: 0 / 425.6 MB, free: 40.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0009402/0.272, allocations: 485 kB / 426.1 MB, free: 40.89 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.272, allocations: 8.438 kB / 426.1 MB, free: 40.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.272, allocations: 0 / 426.1 MB, free: 40.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007566/0.2728, allocations: 180 kB / 426.3 MB, free: 40.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001456/0.273, allocations: 39.69 kB / 426.3 MB, free: 40.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002414/0.2754, allocations: 2.175 MB / 428.5 MB, free: 39.6 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001654/0.2756, allocations: 24.16 kB / 428.5 MB, free: 39.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.109e-05/0.2756, allocations: 6.203 kB / 428.5 MB, free: 39.59 MB / 350.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001099/0.2757, allocations: 139.3 kB / 428.7 MB, free: 39.47 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.798e-05/0.2758, allocations: 18.16 kB / 428.7 MB, free: 39.46 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009379/0.2767, allocations: 462.7 kB / 429.1 MB, free: 39.41 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.2767, allocations: 11.25 kB / 429.2 MB, free: 39.41 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.063e-06/0.2767, allocations: 0.5625 kB / 429.2 MB, free: 39.41 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.2767, allocations: 3.703 kB / 429.2 MB, free: 39.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001153/0.2779, allocations: 0.8477 MB / 430 MB, free: 39.08 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.2779, allocations: 0 / 430 MB, free: 39.08 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.674e-05/0.278, allocations: 28.34 kB / 430 MB, free: 39.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006066/0.2786, allocations: 181.4 kB / 430.2 MB, free: 39.06 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.05e-05/0.2786, allocations: 6.406 kB / 430.2 MB, free: 39.06 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002211/0.2808, allocations: 2.154 MB / 432.4 MB, free: 37.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.2809, allocations: 3 kB / 432.4 MB, free: 37.77 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008084/0.2817, allocations: 0.5254 MB / 432.9 MB, free: 37.6 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.372e-05/0.2817, allocations: 95.77 kB / 433 MB, free: 37.5 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.591e-05/0.2818, allocations: 10.03 kB / 433 MB, free: 37.49 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001734/0.2819, allocations: 12.66 kB / 433 MB, free: 37.49 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.755e-05/0.282, allocations: 19.78 kB / 433 MB, free: 37.49 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.622e-05/0.282, allocations: 10.38 kB / 433 MB, free: 37.49 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001073/0.2821, allocations: 130.5 kB / 433.2 MB, free: 37.42 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2821, allocations: 3 kB / 433.2 MB, free: 37.42 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003882/0.2825, allocations: 91.77 kB / 433.3 MB, free: 37.41 MB / 350.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001219/0.2838, allocations: 1.066 MB / 434.3 MB, free: 36.71 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009391/0.2847, allocations: 496.1 kB / 434.8 MB, free: 36.58 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.2847, allocations: 0 / 434.8 MB, free: 36.58 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005769/0.2853, allocations: 336.4 kB / 435.1 MB, free: 36.42 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000324/0.2857, allocations: 22.19 kB / 435.2 MB, free: 36.41 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003459/0.2891, allocations: 2.815 MB / 438 MB, free: 34.5 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001766/0.2893, allocations: 0.7331 MB / 438.7 MB, free: 33.8 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.922e-05/0.2894, allocations: 27.95 kB / 438.7 MB, free: 33.8 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.038e-05/0.2895, allocations: 55.89 kB / 438.8 MB, free: 33.76 MB / 350.1 MB Notification: Performance of SimCode: time 5.91e-07/0.2895, allocations: 0 / 438.8 MB, free: 33.76 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01755/0.3071, allocations: 6.329 MB / 445.1 MB, free: 33.3 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001429/0.3072, allocations: 226.8 kB / 445.3 MB, free: 33.05 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.722/2.029, allocations: 0 / 445.3 MB, free: 33.05 MB / 350.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoadOneBank_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoadOneBank.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe 2>&1)