Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) Running command: "" <> buildModelFMU(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetwork",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetwork",fmuType="me",version="2.0",platforms={"static"}) 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: 177.6 kB / 8.045 MB, free: 1.027 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 221.5 MB / 230 MB, free: 7.539 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009239/0.0009238, allocations: 98.12 kB / 280.9 MB, free: 5.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04294/0.04294, allocations: 8.107 MB / 339.8 MB, free: 7 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.865e-05/1.867e-05, allocations: 4.203 kB / 398.6 MB, free: 49.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1156, allocations: 52.52 MB / 451.1 MB, free: 5.316 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.155/0.2706, allocations: 80.22 MB / 0.5189 GB, free: 4.984 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002776/0.271, allocations: 71.97 kB / 0.5189 GB, free: 4.914 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.305/0.576, allocations: 18.11 MB / 0.5366 GB, free: 77.63 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.576, allocations: 0.625 kB / 0.5366 GB, free: 77.63 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.729e-05/0.576, allocations: 8.719 kB / 0.5366 GB, free: 77.63 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.003621/0.5797, allocations: 1.161 MB / 0.5377 GB, free: 76.92 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.06e-05/0.5798, allocations: 14.02 kB / 0.5378 GB, free: 76.91 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002308/0.58, allocations: 67.44 kB / 0.5378 GB, free: 76.88 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005661/0.5806, allocations: 447.4 kB / 0.5383 GB, free: 76.58 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.5806, allocations: 11.69 kB / 0.5383 GB, free: 76.58 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.213e-05/0.5807, allocations: 22.78 kB / 0.5383 GB, free: 76.58 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007955/0.5815, allocations: 0.6326 MB / 0.5389 GB, free: 76.48 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008194/0.5823, allocations: 0.6492 MB / 0.5395 GB, free: 76.09 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.5823, allocations: 0 / 0.5395 GB, free: 76.09 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.491e-05/0.5824, allocations: 0 / 0.5395 GB, free: 76.09 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.5824, allocations: 10.56 kB / 0.5395 GB, free: 76.09 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003308/0.5857, allocations: 2.98 MB / 0.5425 GB, free: 73.48 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001023/0.5867, allocations: 1.044 MB / 0.5435 GB, free: 72.76 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004688/0.5872, allocations: 457.6 kB / 0.5439 GB, free: 72.42 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001749/0.5874, allocations: 101.8 kB / 0.544 GB, free: 72.31 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.5874, allocations: 43.28 kB / 0.5441 GB, free: 72.25 MB / 362.7 MB Notification: Performance of pre-optimization done (n=72): time 2.294e-06/0.5875, allocations: 4 kB / 0.5441 GB, free: 72.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=72): time 0.00486/0.5923, allocations: 1.726 MB / 0.5457 GB, free: 70.52 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.97e-05/0.5924, allocations: 111.6 kB / 0.5458 GB, free: 70.38 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003662/0.5928, allocations: 337.2 kB / 0.5462 GB, free: 70.05 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.758e-05/0.5929, allocations: 25.7 kB / 0.5462 GB, free: 70.02 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001/0.593, allocations: 221.4 kB / 0.5464 GB, free: 69.8 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000149/0.5931, allocations: 236.4 kB / 0.5466 GB, free: 69.56 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.319e-05/0.5932, allocations: 4.656 kB / 0.5466 GB, free: 69.56 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.809e-05/0.5933, allocations: 358.7 kB / 0.547 GB, free: 69.2 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004251/0.5937, allocations: 365.5 kB / 0.5473 GB, free: 68.84 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004369/0.5941, allocations: 409.5 kB / 0.5477 GB, free: 68.43 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009239/0.5951, allocations: 432.4 kB / 0.5481 GB, free: 68.01 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.5951, allocations: 0 / 0.5481 GB, free: 68.01 MB / 362.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.005012/0.6001, allocations: 1.768 MB / 0.5499 GB, free: 66.23 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.213e-05/0.6002, allocations: 11.94 kB / 0.5499 GB, free: 66.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.6002, allocations: 3.953 kB / 0.5499 GB, free: 66.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004724/0.6049, allocations: 1.102 MB / 0.5509 GB, free: 65.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003847/0.6054, allocations: 91.75 kB / 0.551 GB, free: 65.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00851/0.6139, allocations: 5.457 MB / 0.5564 GB, free: 59.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007095/0.6146, allocations: 39.52 kB / 0.5564 GB, free: 59.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.933e-05/0.6147, allocations: 23.98 kB / 0.5564 GB, free: 59.39 MB / 362.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * 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 {10 20} Notification: Performance of prepare postOptimizeDAE: time 0.0001574/0.6149, allocations: 109 kB / 0.5565 GB, free: 59.27 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004738/0.6196, allocations: 1.741 MB / 0.5582 GB, free: 57.52 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002663/0.6199, allocations: 55.34 kB / 0.5583 GB, free: 57.46 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005154/0.6251, allocations: 1.892 MB / 0.5601 GB, free: 55.56 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/0.6251, allocations: 8 kB / 0.5601 GB, free: 55.55 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.6251, allocations: 0 / 0.5601 GB, free: 55.55 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.195e-05/0.6252, allocations: 3.984 kB / 0.5601 GB, free: 55.55 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006057/0.6312, allocations: 2.845 MB / 0.5629 GB, free: 52.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.69e-06/0.6313, allocations: 0 / 0.5629 GB, free: 52.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003357/0.6316, allocations: 87.89 kB / 0.563 GB, free: 52.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004624/0.6363, allocations: 1.113 MB / 0.5641 GB, free: 51.47 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.493e-05/0.6364, allocations: 11.98 kB / 0.5641 GB, free: 51.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008132/0.6445, allocations: 5.414 MB / 0.5694 GB, free: 45.93 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/0.6446, allocations: 0 / 0.5694 GB, free: 45.93 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004929/0.6495, allocations: 1.887 MB / 0.5712 GB, free: 44.02 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002378/0.6498, allocations: 152.2 kB / 0.5714 GB, free: 43.85 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001436/0.6499, allocations: 0 / 0.5714 GB, free: 43.85 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006307/0.6506, allocations: 39.95 kB / 0.5714 GB, free: 43.81 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002256/0.6508, allocations: 60.69 kB / 0.5715 GB, free: 43.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.525e-05/0.6509, allocations: 20 kB / 0.5715 GB, free: 43.73 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002759/0.6511, allocations: 267 kB / 0.5717 GB, free: 43.47 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.6512, allocations: 0 / 0.5717 GB, free: 43.47 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009086/0.6521, allocations: 243.8 kB / 0.572 GB, free: 43.23 MB / 362.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 54 * 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 {10 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.005123/0.6572, allocations: 2.455 MB / 0.5744 GB, free: 40.75 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002839/0.6601, allocations: 1.327 MB / 0.5757 GB, free: 39.4 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/0.6601, allocations: 4 kB / 0.5757 GB, free: 39.4 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00216/0.6623, allocations: 0.9067 MB / 0.5766 GB, free: 38.48 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005719/0.6629, allocations: 49.78 kB / 0.5766 GB, free: 38.43 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001972/0.6649, allocations: 0.7941 MB / 0.5774 GB, free: 37.6 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003417/0.6652, allocations: 0.8889 MB / 0.5783 GB, free: 36.68 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004544/0.6657, allocations: 80.33 kB / 0.5783 GB, free: 36.6 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003477/0.6661, allocations: 195.4 kB / 0.5785 GB, free: 36.41 MB / 362.7 MB Notification: Performance of SimCode: time 8.32e-07/0.6661, allocations: 0 / 0.5785 GB, free: 36.41 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05433/0.7204, allocations: 20.76 MB / 0.5988 GB, free: 15.7 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001936/0.7207, allocations: 134.8 kB / 0.5989 GB, free: 15.5 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.385/3.106, allocations: 32 / 0.5989 GB, free: 15.5 MB / 362.7 MB (rm -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetwork_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVLVNetwork.fmu > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe 2>&1)