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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 105.9 kB / 16.45 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 190 kB / 17.39 MB, free: 5.668 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.346/1.346, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04746/0.04746, allocations: 8.093 MB / 299.3 MB, free: 6.645 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 59.91 kB / 414 MB, free: 22.35 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09338/0.0946, allocations: 51.51 MB / 465.5 MB, free: 2.785 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneLoad): time 0.00239/0.09703, allocations: 1.232 MB / 466.7 MB, free: 1.555 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002015/0.09907, allocations: 1.477 MB / 468.2 MB, free: 64 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001109/0.09921, allocations: 3.938 kB / 468.2 MB, free: 60 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004042/0.09962, allocations: 107.5 kB / 468.3 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002865/0.09997, allocations: 79.52 kB / 468.4 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001629/0.1016, allocations: 0.8983 MB / 469.3 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003932/0.102, allocations: 159.2 kB / 469.4 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001979/0.1022, allocations: 53.5 kB / 469.5 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001366/0.1024, allocations: 67.77 kB / 469.6 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002023/0.1026, allocations: 87.62 kB / 469.6 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.276e-05/0.1026, allocations: 12 kB / 469.7 MB, free: 14.6 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005207/0.1032, allocations: 195.8 kB / 469.8 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.143e-05/0.1032, allocations: 27.91 kB / 469.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.026e-05/0.1033, allocations: 75.55 kB / 469.9 MB, free: 14.31 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005521/0.1039, allocations: 310.9 kB / 470.2 MB, free: 14.01 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.1039, allocations: 4 kB / 470.3 MB, free: 14 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1039, allocations: 0 / 470.3 MB, free: 14 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.538e-06/0.1039, allocations: 0 / 470.3 MB, free: 14 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001708/0.1056, allocations: 0.6356 MB / 470.9 MB, free: 13.31 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.1057, allocations: 15.89 kB / 470.9 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.843e-05/0.1057, allocations: 46.73 kB / 470.9 MB, free: 13.24 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.963e-05/0.1058, allocations: 20.69 kB / 471 MB, free: 13.22 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002767/0.1061, allocations: 216.7 kB / 471.2 MB, free: 12.97 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.1061, allocations: 12.61 kB / 471.2 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.832e-05/0.1062, allocations: 12.31 kB / 471.2 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002993/0.1065, allocations: 179.4 kB / 471.4 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.1065, allocations: 4 kB / 471.4 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.984e-05/0.1065, allocations: 4 kB / 471.4 MB, free: 12.76 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.1065, allocations: 8 kB / 471.4 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002287/0.1068, allocations: 152.6 kB / 471.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001001/0.1078, allocations: 0.7029 MB / 472.2 MB, free: 11.83 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004949/0.1083, allocations: 206.5 kB / 472.4 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000138/0.1084, allocations: 92.84 kB / 472.5 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.605e-05/0.1085, allocations: 11.97 kB / 472.6 MB, free: 11.51 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/0.1085, allocations: 30.56 kB / 472.6 MB, free: 11.47 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 2.775e-06/0.1085, allocations: 0 / 472.6 MB, free: 11.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.00167/0.1102, allocations: 0.573 MB / 473.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.294e-05/0.1102, allocations: 55.41 kB / 473.2 MB, free: 10.81 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000182/0.1104, allocations: 175.7 kB / 473.4 MB, free: 10.63 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.672e-05/0.1105, allocations: 29.7 kB / 473.4 MB, free: 10.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.562e-05/0.1106, allocations: 120.3 kB / 473.5 MB, free: 10.47 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.145e-05/0.1106, allocations: 55.2 kB / 473.6 MB, free: 10.42 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.417e-05/0.1107, allocations: 37.7 kB / 473.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.1108, allocations: 326.8 kB / 473.9 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/0.111, allocations: 91.97 kB / 474 MB, free: 9.957 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001359/0.1111, allocations: 98.81 kB / 474.1 MB, free: 9.863 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003072/0.1114, allocations: 220.6 kB / 474.3 MB, free: 9.645 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.1114, allocations: 4 kB / 474.3 MB, free: 9.641 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008522/0.1123, allocations: 384.4 kB / 474.7 MB, free: 9.258 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.1123, allocations: 14.28 kB / 474.7 MB, free: 9.246 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.892e-06/0.1123, allocations: 0 / 474.7 MB, free: 9.246 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006604/0.113, allocations: 132.7 kB / 474.9 MB, free: 9.113 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/0.1132, allocations: 35.92 kB / 474.9 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00253/0.1157, allocations: 2.028 MB / 476.9 MB, free: 6.906 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001556/0.1159, allocations: 15.84 kB / 476.9 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.89e-05/0.1159, allocations: 4 kB / 476.9 MB, free: 6.887 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 (18): * Single equations (assignments): 17 * 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 {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001279/0.116, allocations: 129.8 kB / 477.1 MB, free: 6.75 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.149e-05/0.1161, allocations: 19.95 kB / 477.1 MB, free: 6.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008618/0.1169, allocations: 359.2 kB / 477.4 MB, free: 6.371 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.117, allocations: 4 kB / 477.4 MB, free: 6.367 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.117, allocations: 0 / 477.4 MB, free: 6.367 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.117, allocations: 3.984 kB / 477.4 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003176/0.1173, allocations: 305.3 kB / 477.7 MB, free: 6.016 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.1173, allocations: 0 / 477.7 MB, free: 6.016 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.781e-05/0.1174, allocations: 19.98 kB / 477.8 MB, free: 5.996 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005772/0.118, allocations: 132.7 kB / 477.9 MB, free: 5.863 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.944e-05/0.118, allocations: 4 kB / 477.9 MB, free: 5.859 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002194/0.1202, allocations: 2.016 MB / 479.9 MB, free: 3.707 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1202, allocations: 0 / 479.9 MB, free: 3.707 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007951/0.121, allocations: 427.1 kB / 480.3 MB, free: 3.273 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.044e-05/0.1211, allocations: 100.8 kB / 480.4 MB, free: 3.156 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.659e-05/0.1211, allocations: 7.922 kB / 480.4 MB, free: 3.148 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001604/0.1213, allocations: 12 kB / 480.4 MB, free: 3.137 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.34e-05/0.1214, allocations: 11.98 kB / 480.5 MB, free: 3.125 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.682e-05/0.1214, allocations: 11.98 kB / 480.5 MB, free: 3.113 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001221/0.1215, allocations: 132.1 kB / 480.6 MB, free: 2.984 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1215, allocations: 0 / 480.6 MB, free: 2.984 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003719/0.1219, allocations: 64 kB / 480.7 MB, free: 2.922 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 (13): * Single equations (assignments): 12 * 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 {(2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001162/0.1231, allocations: 0.9822 MB / 481.6 MB, free: 1.906 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007588/0.1238, allocations: 382.5 kB / 482 MB, free: 1.52 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.1239, allocations: 0 / 482 MB, free: 1.52 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004609/0.1243, allocations: 270.5 kB / 482.3 MB, free: 1.242 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003223/0.1247, allocations: 22.33 kB / 482.3 MB, free: 1.223 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00337/0.128, allocations: 2.371 MB / 484.7 MB, free: 14.75 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003015/0.1284, allocations: 0.7202 MB / 485.4 MB, free: 14.01 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.247e-05/0.1285, allocations: 25.53 kB / 485.4 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.379e-05/0.1285, allocations: 43.42 kB / 485.5 MB, free: 13.94 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1285, allocations: 0 / 485.5 MB, free: 13.94 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02817/0.1567, allocations: 6.134 MB / 491.6 MB, free: 7.922 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.74/10.9, allocations: 2.656 kB / 491.6 MB, free: 7.922 MB / 366.1 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/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)