Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.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/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 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.TwoSourcesTwoLinesOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_TwoSourcesTwoLinesOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_TwoSourcesTwoLinesOneLoad",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.0009274/0.0009275, allocations: 95.34 kB / 15.73 MB, free: 440 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.0009522/0.0009523, allocations: 181.9 kB / 16.61 MB, free: 6.422 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.279/1.279, allocations: 223.2 MB / 240.5 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1482/0.1482, allocations: 8.086 MB / 299.7 MB, free: 2.84 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003248/0.000325, allocations: 8 kB / 362.8 MB, free: 13.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1037, allocations: 52.52 MB / 415.4 MB, free: 8.664 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad): time 0.001679/0.1054, allocations: 1.188 MB / 416.6 MB, free: 7.473 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002106/0.1075, allocations: 1.49 MB / 418 MB, free: 5.969 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001551/0.1077, allocations: 4 kB / 418 MB, free: 5.965 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000359/0.1081, allocations: 87.52 kB / 418.1 MB, free: 5.879 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003478/0.1084, allocations: 127.6 kB / 418.3 MB, free: 5.754 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001423/0.1099, allocations: 0.7397 MB / 419 MB, free: 5.012 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003662/0.1102, allocations: 183.6 kB / 419.2 MB, free: 4.832 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001785/0.1104, allocations: 76.44 kB / 419.2 MB, free: 4.754 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001229/0.1105, allocations: 95.69 kB / 419.3 MB, free: 4.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002127/0.1108, allocations: 119.5 kB / 419.5 MB, free: 4.543 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.475e-05/0.1108, allocations: 12 kB / 419.5 MB, free: 4.531 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003589/0.1112, allocations: 167.8 kB / 419.6 MB, free: 4.367 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.266e-05/0.1112, allocations: 39.83 kB / 419.7 MB, free: 4.328 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.191e-05/0.1113, allocations: 69.58 kB / 419.7 MB, free: 4.254 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003691/0.1117, allocations: 287.5 kB / 420 MB, free: 3.973 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.484e-06/0.1117, allocations: 0 / 420 MB, free: 3.973 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1117, allocations: 0 / 420 MB, free: 3.973 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.1117, allocations: 0 / 420 MB, free: 3.973 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.002583/0.1143, allocations: 0.8071 MB / 420.8 MB, free: 3.113 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.1144, allocations: 8.031 kB / 420.8 MB, free: 3.105 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.364e-05/0.1144, allocations: 58.5 kB / 420.9 MB, free: 3.039 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.573e-05/0.1145, allocations: 31.72 kB / 420.9 MB, free: 3.008 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003241/0.1149, allocations: 259.5 kB / 421.2 MB, free: 2.711 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.1149, allocations: 12.44 kB / 421.2 MB, free: 2.699 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.804e-05/0.1149, allocations: 24 kB / 421.2 MB, free: 2.676 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004674/0.1154, allocations: 287.2 kB / 421.5 MB, free: 2.387 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.1154, allocations: 0 / 421.5 MB, free: 2.387 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.062e-05/0.1155, allocations: 11.92 kB / 421.5 MB, free: 2.375 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.415e-06/0.1155, allocations: 11.89 kB / 421.5 MB, free: 2.363 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004277/0.1159, allocations: 277.6 kB / 421.8 MB, free: 2.094 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001556/0.1175, allocations: 1.051 MB / 422.8 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009308/0.1184, allocations: 455.8 kB / 423.3 MB, free: 492 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.364e-05/0.1185, allocations: 7.984 kB / 423.3 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.838e-05/0.1185, allocations: 34.56 kB / 423.3 MB, free: 440 kB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.623e-06/0.1185, allocations: 0 / 423.3 MB, free: 440 kB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.1733/0.2918, allocations: 0.9383 MB / 424.3 MB, free: 40.54 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.304e-05/0.2919, allocations: 60.41 kB / 424.3 MB, free: 40.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002303/0.2921, allocations: 218.7 kB / 424.5 MB, free: 40.38 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.905e-05/0.2921, allocations: 32.14 kB / 424.6 MB, free: 40.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.393e-05/0.2922, allocations: 141.9 kB / 424.7 MB, free: 40.26 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.32e-05/0.2923, allocations: 96.98 kB / 424.8 MB, free: 40.2 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.022e-05/0.2923, allocations: 7.5 kB / 424.8 MB, free: 40.2 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.162e-05/0.2924, allocations: 336.5 kB / 425.1 MB, free: 39.89 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002145/0.2926, allocations: 171.1 kB / 425.3 MB, free: 39.89 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002077/0.2928, allocations: 177.8 kB / 425.5 MB, free: 39.89 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002459/0.293, allocations: 191.3 kB / 425.7 MB, free: 39.88 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2931, allocations: 2.875 kB / 425.7 MB, free: 39.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001216/0.2943, allocations: 0.6544 MB / 426.3 MB, free: 39.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.2943, allocations: 6.281 kB / 426.3 MB, free: 39.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.2943, allocations: 0 / 426.3 MB, free: 39.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009715/0.2953, allocations: 244.9 kB / 426.6 MB, free: 39.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002045/0.2955, allocations: 54.45 kB / 426.6 MB, free: 39.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003069/0.2986, allocations: 2.564 MB / 429.2 MB, free: 38.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002348/0.2988, allocations: 36.86 kB / 429.2 MB, free: 38.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.636e-05/0.2989, allocations: 13.45 kB / 429.2 MB, free: 38.5 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 (32): * Single equations (assignments): 31 * 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 {3 9} Notification: Performance of prepare postOptimizeDAE: time 0.0001174/0.299, allocations: 142.7 kB / 429.4 MB, free: 38.39 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.842e-05/0.299, allocations: 23.97 kB / 429.4 MB, free: 38.38 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001254/0.3003, allocations: 0.6002 MB / 430 MB, free: 38.31 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.3003, allocations: 3.031 kB / 430 MB, free: 38.31 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.3003, allocations: 1.25 kB / 430 MB, free: 38.31 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.3003, allocations: 3.422 kB / 430 MB, free: 38.31 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001632/0.302, allocations: 1.063 MB / 431.1 MB, free: 37.97 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.302, allocations: 0 / 431.1 MB, free: 37.97 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001029/0.3021, allocations: 25.98 kB / 431.1 MB, free: 37.97 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008773/0.303, allocations: 242.8 kB / 431.3 MB, free: 37.96 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.959e-05/0.303, allocations: 3.375 kB / 431.3 MB, free: 37.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00271/0.3057, allocations: 2.533 MB / 433.9 MB, free: 36.65 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.3057, allocations: 1.859 kB / 433.9 MB, free: 36.65 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001149/0.3069, allocations: 0.653 MB / 434.5 MB, free: 36.31 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.64e-05/0.307, allocations: 109.9 kB / 434.6 MB, free: 36.2 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.623e-05/0.307, allocations: 7.516 kB / 434.6 MB, free: 36.19 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002201/0.3072, allocations: 20.06 kB / 434.7 MB, free: 36.18 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.372e-05/0.3073, allocations: 23.86 kB / 434.7 MB, free: 36.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.999e-05/0.3073, allocations: 10.44 kB / 434.7 MB, free: 36.18 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001302/0.3075, allocations: 167.8 kB / 434.9 MB, free: 36.07 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3075, allocations: 0 / 434.9 MB, free: 36.07 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004238/0.3079, allocations: 107.6 kB / 435 MB, free: 36.06 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 (20): * Single equations (assignments): 19 * 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 {3 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.001373/0.3093, allocations: 1.195 MB / 436.2 MB, free: 35.16 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001085/0.3104, allocations: 0.6102 MB / 436.8 MB, free: 34.84 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.3104, allocations: 0 / 436.8 MB, free: 34.84 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006582/0.311, allocations: 399.4 kB / 437.2 MB, free: 34.61 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002258/0.3113, allocations: 21.53 kB / 437.2 MB, free: 34.6 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009847/0.3123, allocations: 0.8449 MB / 438 MB, free: 33.99 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001563/0.3125, allocations: 0.7547 MB / 438.8 MB, free: 33.29 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001105/0.3126, allocations: 35.12 kB / 438.8 MB, free: 33.28 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.884e-05/0.3127, allocations: 67.98 kB / 438.9 MB, free: 33.23 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3127, allocations: 0 / 438.9 MB, free: 33.23 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01724/0.3299, allocations: 8.055 MB / 446.9 MB, free: 32.66 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001253/0.3301, allocations: 198.4 kB / 447.1 MB, free: 32.43 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.633/1.963, allocations: 3.438 kB / 447.1 MB, free: 32.43 MB / 350.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_TwoSourcesTwoLinesOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_TwoSourcesTwoLinesOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe 2>&1) Environment - environmentSimulation: