Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.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.OneSourceOneTransfoOnelineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOnelineOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOnelineOneLoad",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.0008783/0.0008784, allocations: 96.94 kB / 16.06 MB, free: 40 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.0009472/0.0009472, allocations: 181.7 kB / 16.96 MB, free: 6.895 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.294/1.294, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.159/0.159, allocations: 8.082 MB / 300.2 MB, free: 2.859 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000314/0.0003141, allocations: 15.98 kB / 363.6 MB, free: 12.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09684/0.09718, allocations: 52.51 MB / 416.1 MB, free: 8.316 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad): time 0.001655/0.09886, allocations: 1.29 MB / 417.4 MB, free: 7.023 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001994/0.1009, allocations: 1.516 MB / 418.9 MB, free: 5.492 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.101, allocations: 4 kB / 418.9 MB, free: 5.488 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003539/0.1014, allocations: 111.6 kB / 419 MB, free: 5.379 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003484/0.1017, allocations: 123.3 kB / 419.1 MB, free: 5.258 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001847/0.1036, allocations: 1.125 MB / 420.3 MB, free: 4.129 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003333/0.1039, allocations: 230.8 kB / 420.5 MB, free: 3.902 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001511/0.1041, allocations: 76.03 kB / 420.6 MB, free: 3.828 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000116/0.1042, allocations: 83.7 kB / 420.7 MB, free: 3.746 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002014/0.1044, allocations: 123.4 kB / 420.8 MB, free: 3.625 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.006e-05/0.1045, allocations: 12 kB / 420.8 MB, free: 3.613 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004313/0.1049, allocations: 235.8 kB / 421 MB, free: 3.383 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.109e-05/0.105, allocations: 39.78 kB / 421.1 MB, free: 3.344 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001176/0.1051, allocations: 133.1 kB / 421.2 MB, free: 3.207 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005318/0.1056, allocations: 411 kB / 421.6 MB, free: 2.805 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1056, allocations: 0 / 421.6 MB, free: 2.805 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.113e-06/0.1056, allocations: 4 kB / 421.6 MB, free: 2.801 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.1057, allocations: 0 / 421.6 MB, free: 2.801 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.002847/0.1085, allocations: 0.8812 MB / 422.5 MB, free: 1.867 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.1086, allocations: 8.031 kB / 422.5 MB, free: 1.859 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.429e-05/0.1086, allocations: 50.73 kB / 422.5 MB, free: 1.801 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.132e-05/0.1087, allocations: 28.66 kB / 422.6 MB, free: 1.773 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002904/0.109, allocations: 255.8 kB / 422.8 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.772e-05/0.109, allocations: 16.7 kB / 422.8 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.087e-05/0.1091, allocations: 20.38 kB / 422.8 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004557/0.1096, allocations: 302 kB / 423.1 MB, free: 1.145 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.1096, allocations: 7.938 kB / 423.1 MB, free: 1.137 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.737e-05/0.1096, allocations: 4 kB / 423.1 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.1096, allocations: 4 kB / 423.2 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000364/0.11, allocations: 239.9 kB / 423.4 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1589/0.2689, allocations: 1.147 MB / 424.5 MB, free: 40.53 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005832/0.2695, allocations: 303.9 kB / 424.8 MB, free: 40.51 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002105/0.2698, allocations: 161.8 kB / 425 MB, free: 40.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.596e-05/0.2698, allocations: 8.188 kB / 425 MB, free: 40.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.2699, allocations: 40.78 kB / 425 MB, free: 40.46 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 2.595e-06/0.2699, allocations: 0 / 425 MB, free: 40.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.002974/0.2728, allocations: 0.9602 MB / 426 MB, free: 40.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.291e-05/0.2729, allocations: 82.62 kB / 426.1 MB, free: 40.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000183/0.2731, allocations: 205.4 kB / 426.3 MB, free: 40.12 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.448e-05/0.2731, allocations: 36.28 kB / 426.3 MB, free: 40.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.434e-05/0.2732, allocations: 134.9 kB / 426.4 MB, free: 40.01 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.547e-05/0.2733, allocations: 86.53 kB / 426.5 MB, free: 39.96 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.89e-05/0.2733, allocations: 32.33 kB / 426.6 MB, free: 39.95 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.293e-05/0.2734, allocations: 338.1 kB / 426.9 MB, free: 39.63 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002106/0.2736, allocations: 159.5 kB / 427 MB, free: 39.63 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002162/0.2738, allocations: 195.2 kB / 427.2 MB, free: 39.62 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004262/0.2742, allocations: 366.2 kB / 427.6 MB, free: 39.61 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.2743, allocations: 3.906 kB / 427.6 MB, free: 39.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001611/0.2759, allocations: 0.6856 MB / 428.3 MB, free: 39.54 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.2759, allocations: 10.62 kB / 428.3 MB, free: 39.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.2759, allocations: 3.656 kB / 428.3 MB, free: 39.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00169/0.2776, allocations: 394.3 kB / 428.7 MB, free: 39.53 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000207/0.2778, allocations: 48.67 kB / 428.7 MB, free: 39.53 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003562/0.2814, allocations: 2.525 MB / 431.3 MB, free: 38.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002489/0.2817, allocations: 29 kB / 431.3 MB, free: 38.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.578e-05/0.2817, allocations: 12.72 kB / 431.3 MB, free: 38.21 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 (31): * Single equations (assignments): 30 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001233/0.2818, allocations: 134.2 kB / 431.4 MB, free: 38.1 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.848e-05/0.2819, allocations: 17.38 kB / 431.4 MB, free: 38.09 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001604/0.2835, allocations: 0.6598 MB / 432.1 MB, free: 38.02 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.2835, allocations: 3.281 kB / 432.1 MB, free: 38.02 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.2835, allocations: 7.312 kB / 432.1 MB, free: 38.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.2835, allocations: 7.328 kB / 432.1 MB, free: 38.01 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002893/0.2838, allocations: 387.8 kB / 432.5 MB, free: 37.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.2838, allocations: 0 / 432.5 MB, free: 37.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001277/0.284, allocations: 34.48 kB / 432.5 MB, free: 37.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001607/0.2856, allocations: 373.5 kB / 432.9 MB, free: 37.8 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.255e-05/0.2856, allocations: 11.25 kB / 432.9 MB, free: 37.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003409/0.289, allocations: 2.496 MB / 435.4 MB, free: 36.44 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.289, allocations: 4.562 kB / 435.4 MB, free: 36.43 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001519/0.2906, allocations: 0.6995 MB / 436.1 MB, free: 36.07 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.263e-05/0.2906, allocations: 109.4 kB / 436.2 MB, free: 35.96 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.332e-05/0.2907, allocations: 5.75 kB / 436.2 MB, free: 35.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002343/0.2909, allocations: 21.42 kB / 436.2 MB, free: 35.95 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.225e-05/0.291, allocations: 28.75 kB / 436.3 MB, free: 35.94 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.135e-05/0.291, allocations: 9.625 kB / 436.3 MB, free: 35.94 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000117/0.2911, allocations: 150.4 kB / 436.4 MB, free: 35.84 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2911, allocations: 1.219 kB / 436.4 MB, free: 35.84 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000472/0.2916, allocations: 101.8 kB / 436.5 MB, free: 35.83 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 (22): * Single equations (assignments): 21 * 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001753/0.2934, allocations: 1.252 MB / 437.8 MB, free: 34.94 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001454/0.2948, allocations: 0.6333 MB / 438.4 MB, free: 34.63 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.686e-06/0.2949, allocations: 0 / 438.4 MB, free: 34.63 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001022/0.2959, allocations: 441.9 kB / 438.8 MB, free: 34.41 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003568/0.2963, allocations: 29.89 kB / 438.9 MB, free: 34.39 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004957/0.3012, allocations: 3.47 MB / 442.3 MB, free: 32.23 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001635/0.3014, allocations: 0.747 MB / 443.1 MB, free: 31.52 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001193/0.3015, allocations: 30.08 kB / 443.1 MB, free: 31.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.291e-05/0.3016, allocations: 66.73 kB / 443.2 MB, free: 31.48 MB / 350.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3016, allocations: 0 / 443.2 MB, free: 31.48 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0177/0.3193, allocations: 8.021 MB / 451.2 MB, free: 30.89 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001806/0.3196, allocations: 230.2 kB / 451.4 MB, free: 30.64 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.711/2.03, allocations: 0 / 451.4 MB, free: 30.64 MB / 350.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOnelineOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOnelineOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe 2>&1)