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.004283/0.004283, allocations: 94.19 kB / 15.92 MB, free: 6.277 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.001036/0.001036, allocations: 197.4 kB / 16.84 MB, free: 6.191 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.236/1.236, allocations: 222.9 MB / 240.5 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.126/0.126, allocations: 8.085 MB / 298.7 MB, free: 2.094 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001142, allocations: 59.91 kB / 361.1 MB, free: 13.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07556/0.07671, allocations: 51.53 MB / 412.7 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneLoad): time 0.002098/0.07884, allocations: 1.271 MB / 413.9 MB, free: 8.809 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001491/0.08034, allocations: 1.481 MB / 415.4 MB, free: 7.312 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.101e-05/0.0804, allocations: 3.938 kB / 415.4 MB, free: 7.309 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002739/0.08068, allocations: 95.66 kB / 415.5 MB, free: 7.215 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001636/0.08086, allocations: 71.66 kB / 415.6 MB, free: 7.145 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001309/0.08217, allocations: 0.8679 MB / 416.4 MB, free: 6.273 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001729/0.08235, allocations: 155.2 kB / 416.6 MB, free: 6.121 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.08246, allocations: 41.52 kB / 416.6 MB, free: 6.078 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.143e-05/0.08253, allocations: 63.77 kB / 416.7 MB, free: 6.016 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001172/0.08265, allocations: 87.61 kB / 416.8 MB, free: 5.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.427e-05/0.08268, allocations: 8 kB / 416.8 MB, free: 5.922 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002793/0.08297, allocations: 187.8 kB / 417 MB, free: 5.738 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.941e-05/0.083, allocations: 31.84 kB / 417 MB, free: 5.707 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.44e-05/0.08307, allocations: 67.66 kB / 417.1 MB, free: 5.641 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003353/0.08341, allocations: 303.5 kB / 417.4 MB, free: 5.344 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.08343, allocations: 7.922 kB / 417.4 MB, free: 5.336 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.21e-07/0.08343, allocations: 0 / 417.4 MB, free: 5.336 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.196e-06/0.08344, allocations: 0 / 417.4 MB, free: 5.336 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.001567/0.08501, allocations: 0.6318 MB / 418 MB, free: 4.648 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.96e-05/0.08505, allocations: 8.031 kB / 418 MB, free: 4.641 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.649e-05/0.0851, allocations: 50.73 kB / 418.1 MB, free: 4.582 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.423e-05/0.08515, allocations: 16.75 kB / 418.1 MB, free: 4.566 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002264/0.08538, allocations: 220.6 kB / 418.3 MB, free: 4.312 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.0854, allocations: 12.55 kB / 418.3 MB, free: 4.301 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.23e-05/0.08543, allocations: 16.36 kB / 418.3 MB, free: 4.285 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002726/0.08571, allocations: 175.4 kB / 418.5 MB, free: 4.109 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.08572, allocations: 0 / 418.5 MB, free: 4.109 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.879e-05/0.08575, allocations: 4 kB / 418.5 MB, free: 4.105 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.08576, allocations: 4 kB / 418.5 MB, free: 4.102 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002227/0.08598, allocations: 160.6 kB / 418.7 MB, free: 3.945 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008918/0.08688, allocations: 0.703 MB / 419.4 MB, free: 3.168 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004826/0.08738, allocations: 202.5 kB / 419.6 MB, free: 2.961 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001287/0.08752, allocations: 93.12 kB / 419.7 MB, free: 2.867 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.983e-05/0.08756, allocations: 11.97 kB / 419.7 MB, free: 2.855 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.08759, allocations: 38.44 kB / 419.7 MB, free: 2.809 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.172e-06/0.0876, allocations: 0 / 419.7 MB, free: 2.809 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001668/0.08927, allocations: 0.5635 MB / 420.3 MB, free: 2.219 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.759e-05/0.08931, allocations: 55.41 kB / 420.3 MB, free: 2.152 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/0.08947, allocations: 172.5 kB / 420.5 MB, free: 1.977 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.317e-05/0.0895, allocations: 29.7 kB / 420.5 MB, free: 1.941 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.39e-05/0.08958, allocations: 124.2 kB / 420.6 MB, free: 1.816 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.58e-05/0.08962, allocations: 47.27 kB / 420.7 MB, free: 1.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.132e-05/0.08969, allocations: 41.7 kB / 420.7 MB, free: 1.723 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.494e-05/0.08979, allocations: 326.8 kB / 421.1 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/0.08994, allocations: 91.97 kB / 421.1 MB, free: 1.305 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001365/0.09008, allocations: 95.97 kB / 421.2 MB, free: 1.211 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002874/0.09037, allocations: 220.6 kB / 421.4 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.09038, allocations: 0 / 421.4 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008105/0.0912, allocations: 389.9 kB / 421.8 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.09122, allocations: 7.938 kB / 421.8 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.09123, allocations: 4 kB / 421.8 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000642/0.09188, allocations: 136.7 kB / 422 MB, free: 468 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.09201, allocations: 35.92 kB / 422 MB, free: 432 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002048/0.09406, allocations: 1.882 MB / 423.9 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001367/0.09421, allocations: 11.78 kB / 423.9 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.892e-05/0.09424, allocations: 16.17 kB / 423.9 MB, free: 14.38 MB / 366.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 9.294e-05/0.09434, allocations: 121.8 kB / 424 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.417e-05/0.09439, allocations: 11.91 kB / 424.1 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000814/0.09521, allocations: 376.9 kB / 424.4 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.09522, allocations: 0 / 424.4 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.81e-07/0.09522, allocations: 0 / 424.4 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.644e-06/0.09523, allocations: 0 / 424.4 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002599/0.0955, allocations: 297.4 kB / 424.7 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.09551, allocations: 0 / 424.7 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.118e-05/0.09558, allocations: 23.98 kB / 424.7 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000577/0.09617, allocations: 136.7 kB / 424.9 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.09619, allocations: 4 kB / 424.9 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001819/0.09801, allocations: 1.867 MB / 426.7 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.09803, allocations: 0 / 426.7 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007489/0.09878, allocations: 433.6 kB / 427.2 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.007e-05/0.09884, allocations: 92.86 kB / 427.3 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.681e-05/0.09887, allocations: 8 kB / 427.3 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001525/0.09903, allocations: 7.984 kB / 427.3 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.836e-05/0.09908, allocations: 15.92 kB / 427.3 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.0991, allocations: 7.938 kB / 427.3 MB, free: 10.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001409/0.09924, allocations: 135.2 kB / 427.4 MB, free: 10.64 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.09925, allocations: 0 / 427.4 MB, free: 10.64 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003235/0.09958, allocations: 72 kB / 427.5 MB, free: 10.57 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 (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.001037/0.1006, allocations: 0.9627 MB / 428.5 MB, free: 9.574 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006754/0.1013, allocations: 392.7 kB / 428.8 MB, free: 9.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1013, allocations: 0 / 428.8 MB, free: 9.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004334/0.1018, allocations: 258.6 kB / 429.1 MB, free: 8.914 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002897/0.1021, allocations: 19.94 kB / 429.1 MB, free: 8.895 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003042/0.1051, allocations: 2.425 MB / 431.5 MB, free: 6.383 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002235/0.1053, allocations: 0.7167 MB / 432.3 MB, free: 5.641 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.964e-05/0.1054, allocations: 25.39 kB / 432.3 MB, free: 5.613 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.852e-05/0.1055, allocations: 43.42 kB / 432.3 MB, free: 5.57 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1055, allocations: 0 / 432.3 MB, free: 5.57 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2061/0.3117, allocations: 5.531 MB / 437.9 MB, free: 160 kB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.1351/0.4468, allocations: 223.4 kB / 438.1 MB, free: 60.68 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.64/2.087, allocations: 0 / 438.1 MB, free: 60.68 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)