Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.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.OneSourceTwoLinesOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceTwoLinesOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceTwoLinesOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceTwoLinesOneLoad",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.001124/0.001124, 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.001124/0.001124, 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.28/1.28, 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.04834/0.04834, allocations: 8.098 MB / 299.3 MB, free: 6.652 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001119/0.001119, allocations: 67.89 kB / 414 MB, free: 22.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09586/0.09699, allocations: 51.51 MB / 465.5 MB, free: 2.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceTwoLinesOneLoad): time 0.002805/0.09984, allocations: 1.563 MB / 467 MB, free: 1.121 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002275/0.1021, allocations: 1.539 MB / 468.6 MB, free: 15.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001712/0.1023, allocations: 8 kB / 468.6 MB, free: 15.56 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004268/0.1028, allocations: 123.3 kB / 468.7 MB, free: 15.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004096/0.1033, allocations: 115.3 kB / 468.8 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00169/0.105, allocations: 0.9099 MB / 469.7 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003995/0.1054, allocations: 242.8 kB / 470 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001789/0.1055, allocations: 80.33 kB / 470.1 MB, free: 14.1 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001165/0.1057, allocations: 99.64 kB / 470.2 MB, free: 14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001937/0.1059, allocations: 123.5 kB / 470.3 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.013e-05/0.1059, allocations: 16 kB / 470.3 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003898/0.1063, allocations: 207.8 kB / 470.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.434e-05/0.1064, allocations: 51.77 kB / 470.5 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001201/0.1065, allocations: 119.4 kB / 470.7 MB, free: 13.49 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004701/0.107, allocations: 382.6 kB / 471 MB, free: 13.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.107, allocations: 0 / 471 MB, free: 13.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.107, allocations: 4 kB / 471 MB, free: 13.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.107, allocations: 0 / 471 MB, free: 13.12 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.002339/0.1093, allocations: 0.8072 MB / 471.8 MB, free: 12.26 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.1094, allocations: 15.83 kB / 471.9 MB, free: 12.24 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.584e-05/0.1095, allocations: 58.73 kB / 471.9 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.292e-05/0.1095, allocations: 24.66 kB / 471.9 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003157/0.1099, allocations: 259.8 kB / 472.2 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.1099, allocations: 16.7 kB / 472.2 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.703e-05/0.1099, allocations: 16.38 kB / 472.2 MB, free: 11.83 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004078/0.1103, allocations: 260 kB / 472.5 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.1104, allocations: 3.938 kB / 472.5 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.764e-05/0.1104, allocations: 12 kB / 472.5 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.1104, allocations: 4 kB / 472.5 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003478/0.1108, allocations: 239.9 kB / 472.7 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00144/0.1122, allocations: 1.117 MB / 473.9 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006379/0.1129, allocations: 318.4 kB / 474.2 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002297/0.1131, allocations: 152.8 kB / 474.3 MB, free: 9.602 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.28e-05/0.1132, allocations: 7.984 kB / 474.3 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.197e-05/0.1132, allocations: 38.5 kB / 474.4 MB, free: 9.547 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 1.883e-06/0.1132, allocations: 0 / 474.4 MB, free: 9.547 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.003048/0.1163, allocations: 0.9839 MB / 475.3 MB, free: 8.535 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/0.1163, allocations: 51.41 kB / 475.4 MB, free: 8.473 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001917/0.1165, allocations: 190.4 kB / 475.6 MB, free: 8.277 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.065e-05/0.1166, allocations: 29.7 kB / 475.6 MB, free: 8.242 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.974e-05/0.1167, allocations: 140.4 kB / 475.7 MB, free: 8.102 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.634e-05/0.1168, allocations: 78.75 kB / 475.8 MB, free: 8.023 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/0.1169, allocations: 65.69 kB / 475.9 MB, free: 7.953 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.117, allocations: 330.8 kB / 476.2 MB, free: 7.621 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002299/0.1172, allocations: 155.9 kB / 476.4 MB, free: 7.469 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002177/0.1175, allocations: 161 kB / 476.5 MB, free: 7.312 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005016/0.118, allocations: 346.4 kB / 476.9 MB, free: 6.969 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.118, allocations: 0 / 476.9 MB, free: 6.969 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.00149/0.1195, allocations: 0.6458 MB / 477.5 MB, free: 6.312 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.1195, allocations: 14.28 kB / 477.5 MB, free: 6.301 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.1195, allocations: 0 / 477.5 MB, free: 6.301 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001429/0.1209, allocations: 328.5 kB / 477.8 MB, free: 5.977 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001792/0.1211, allocations: 43.92 kB / 477.9 MB, free: 5.934 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004241/0.1254, allocations: 2.758 MB / 480.6 MB, free: 3.027 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002004/0.1256, allocations: 27.62 kB / 480.7 MB, free: 3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.968e-05/0.1256, allocations: 8 kB / 480.7 MB, free: 2.992 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 (27): * Single equations (assignments): 26 * 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 {(6,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001553/0.1258, allocations: 137.8 kB / 480.8 MB, free: 2.848 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.262e-05/0.1259, allocations: 27.8 kB / 480.8 MB, free: 2.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001554/0.1274, allocations: 0.6172 MB / 481.5 MB, free: 2.195 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.1275, allocations: 4 kB / 481.5 MB, free: 2.191 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.1275, allocations: 3.938 kB / 481.5 MB, free: 2.188 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1275, allocations: 3.938 kB / 481.5 MB, free: 2.184 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003756/0.1279, allocations: 381.2 kB / 481.8 MB, free: 1.762 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.1279, allocations: 0 / 481.8 MB, free: 1.762 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001061/0.128, allocations: 31.98 kB / 481.9 MB, free: 1.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001289/0.1293, allocations: 320.4 kB / 482.2 MB, free: 1.414 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.402e-05/0.1293, allocations: 4 kB / 482.2 MB, free: 1.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003778/0.1331, allocations: 2.723 MB / 484.9 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.1331, allocations: 4 kB / 484.9 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00147/0.1346, allocations: 0.6721 MB / 485.6 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.518e-05/0.1347, allocations: 105 kB / 485.7 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.664e-05/0.1347, allocations: 8 kB / 485.7 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001979/0.1349, allocations: 11.98 kB / 485.7 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.867e-05/0.135, allocations: 27.84 kB / 485.7 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.259e-05/0.135, allocations: 8 kB / 485.7 MB, free: 13.68 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001571/0.1352, allocations: 147.2 kB / 485.9 MB, free: 13.53 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1352, allocations: 0 / 485.9 MB, free: 13.53 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004691/0.1357, allocations: 99.94 kB / 486 MB, free: 13.43 MB / 366.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 (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 {(6,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001866/0.1376, allocations: 1.228 MB / 487.2 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001404/0.139, allocations: 0.6196 MB / 487.8 MB, free: 11.54 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.139, allocations: 0 / 487.8 MB, free: 11.54 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009471/0.1399, allocations: 450.3 kB / 488.3 MB, free: 11.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003602/0.1403, allocations: 23.75 kB / 488.3 MB, free: 11.07 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005238/0.1456, allocations: 3.24 MB / 491.5 MB, free: 7.75 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003345/0.1459, allocations: 0.7523 MB / 492.3 MB, free: 6.969 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.96e-05/0.146, allocations: 29.92 kB / 492.3 MB, free: 6.938 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/0.1461, allocations: 67.41 kB / 492.4 MB, free: 6.871 MB / 366.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1461, allocations: 0 / 492.4 MB, free: 6.871 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02942/0.1756, allocations: 8.663 MB / 0.4893 GB, free: 14.32 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.7/10.88, allocations: 10.28 kB / 0.4893 GB, free: 14.32 MB / 382.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceTwoLinesOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceTwoLinesOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe 2>&1)