Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.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.OneSourceOneTransfoOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLoad",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.001481/0.001481, allocations: 105.4 kB / 16.31 MB, free: 6.391 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.001696/0.001696, allocations: 191.1 kB / 17.24 MB, free: 5.922 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.419/1.419, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05045/0.05045, allocations: 8.101 MB / 299.2 MB, free: 6.727 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 55.91 kB / 361.8 MB, free: 8.051 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2224/0.2238, allocations: 51.51 MB / 413.3 MB, free: 25.58 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLoad): time 0.0022/0.226, allocations: 1.26 MB / 414.6 MB, free: 24.32 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00138/0.2274, allocations: 1.489 MB / 416.1 MB, free: 22.82 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.346e-05/0.2275, allocations: 0 / 416.1 MB, free: 22.82 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002702/0.2278, allocations: 111.4 kB / 416.2 MB, free: 22.71 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000218/0.228, allocations: 103.4 kB / 416.3 MB, free: 22.61 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001295/0.2293, allocations: 1.003 MB / 417.3 MB, free: 21.6 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001831/0.2295, allocations: 155.2 kB / 417.5 MB, free: 21.45 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001375/0.2297, allocations: 54.38 kB / 417.5 MB, free: 21.39 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.093e-05/0.2297, allocations: 71.7 kB / 417.6 MB, free: 21.32 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001378/0.2299, allocations: 83.67 kB / 417.7 MB, free: 21.24 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.622e-05/0.2299, allocations: 12 kB / 417.7 MB, free: 21.23 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003101/0.2302, allocations: 227.7 kB / 417.9 MB, free: 21.01 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.961e-05/0.2303, allocations: 35.86 kB / 417.9 MB, free: 20.97 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.798e-05/0.2303, allocations: 71.66 kB / 418 MB, free: 20.9 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003434/0.2307, allocations: 341.3 kB / 418.3 MB, free: 20.57 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.2307, allocations: 0 / 418.3 MB, free: 20.57 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.2307, allocations: 3.938 kB / 418.3 MB, free: 20.57 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.2307, allocations: 4 kB / 418.3 MB, free: 20.56 MB / 302.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.002016/0.2327, allocations: 0.7175 MB / 419.1 MB, free: 19.79 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.2328, allocations: 11.89 kB / 419.1 MB, free: 19.78 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.101e-05/0.2328, allocations: 46.75 kB / 419.1 MB, free: 19.72 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.833e-05/0.2329, allocations: 20.75 kB / 419.1 MB, free: 19.7 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001851/0.2331, allocations: 220.1 kB / 419.4 MB, free: 19.45 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.2331, allocations: 12.61 kB / 419.4 MB, free: 19.44 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.124e-05/0.2331, allocations: 12.38 kB / 419.4 MB, free: 19.43 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002554/0.2334, allocations: 203.6 kB / 419.6 MB, free: 19.22 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.2334, allocations: 3.938 kB / 419.6 MB, free: 19.21 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.986e-05/0.2334, allocations: 11.98 kB / 419.6 MB, free: 19.2 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.2334, allocations: 0 / 419.6 MB, free: 19.2 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001922/0.2336, allocations: 164.6 kB / 419.8 MB, free: 19.04 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008988/0.2345, allocations: 0.7223 MB / 420.5 MB, free: 18.25 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004347/0.235, allocations: 210.4 kB / 420.7 MB, free: 18.03 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/0.2351, allocations: 88.84 kB / 420.8 MB, free: 17.94 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.997e-05/0.2352, allocations: 11.97 kB / 420.8 MB, free: 17.93 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.777e-05/0.2352, allocations: 34.56 kB / 420.8 MB, free: 17.89 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.313e-06/0.2352, allocations: 0 / 420.8 MB, free: 17.89 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.001828/0.237, allocations: 0.5806 MB / 421.4 MB, free: 17.28 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.963e-05/0.2371, allocations: 89.05 kB / 421.5 MB, free: 17.18 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.2372, allocations: 182.5 kB / 421.7 MB, free: 16.98 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.2372, allocations: 29.7 kB / 421.7 MB, free: 16.95 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.803e-05/0.2373, allocations: 112.4 kB / 421.8 MB, free: 16.84 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.308e-05/0.2373, allocations: 59.14 kB / 421.9 MB, free: 16.78 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.216e-05/0.2374, allocations: 49.69 kB / 421.9 MB, free: 16.72 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.529e-05/0.2374, allocations: 326.8 kB / 422.2 MB, free: 16.39 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001255/0.2376, allocations: 107.9 kB / 422.3 MB, free: 16.29 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001368/0.2377, allocations: 126.3 kB / 422.4 MB, free: 16.16 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002647/0.238, allocations: 234 kB / 422.7 MB, free: 15.93 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.238, allocations: 0 / 422.7 MB, free: 15.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009598/0.239, allocations: 422 kB / 423.1 MB, free: 15.51 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.239, allocations: 4 kB / 423.1 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.239, allocations: 0 / 423.1 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001/0.24, allocations: 204.6 kB / 423.3 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001653/0.2402, allocations: 35.92 kB / 423.3 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002205/0.2424, allocations: 1.987 MB / 425.3 MB, free: 13.13 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001869/0.2426, allocations: 23.78 kB / 425.3 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.793e-05/0.2426, allocations: 8 kB / 425.3 MB, free: 13.1 MB / 302.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 (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 {(3,1)} Notification: Performance of prepare postOptimizeDAE: time 9.455e-05/0.2427, allocations: 129.8 kB / 425.5 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.676e-05/0.2428, allocations: 19.75 kB / 425.5 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000955/0.2437, allocations: 386.3 kB / 425.9 MB, free: 12.56 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.2438, allocations: 4 kB / 425.9 MB, free: 12.56 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.744e-06/0.2438, allocations: 3.938 kB / 425.9 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.2438, allocations: 0 / 425.9 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002278/0.244, allocations: 297.4 kB / 426.2 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.244, allocations: 4 kB / 426.2 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001094/0.2441, allocations: 27.98 kB / 426.2 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009121/0.245, allocations: 204.6 kB / 426.4 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.2451, allocations: 4 kB / 426.4 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001815/0.2469, allocations: 1.957 MB / 428.4 MB, free: 9.883 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2469, allocations: 0 / 428.4 MB, free: 9.883 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008738/0.2478, allocations: 451.9 kB / 428.8 MB, free: 9.422 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.23e-05/0.2478, allocations: 92.86 kB / 428.9 MB, free: 9.312 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.858e-05/0.2479, allocations: 8 kB / 428.9 MB, free: 9.305 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001833/0.2481, allocations: 19.92 kB / 428.9 MB, free: 9.285 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.192e-05/0.2481, allocations: 11.98 kB / 428.9 MB, free: 9.273 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/0.2481, allocations: 4 kB / 428.9 MB, free: 9.27 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.525e-05/0.2482, allocations: 140.2 kB / 429.1 MB, free: 9.133 MB / 302.1 MB Notification: Performance of sort global known variables: time 7.81e-07/0.2482, allocations: 0 / 429.1 MB, free: 9.133 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003357/0.2486, allocations: 67.78 kB / 429.1 MB, free: 9.066 MB / 302.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 (15): * Single equations (assignments): 14 * 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 {(3,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001115/0.2497, allocations: 0.9931 MB / 430.1 MB, free: 8.043 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008588/0.2506, allocations: 434.4 kB / 430.6 MB, free: 7.605 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2506, allocations: 0 / 430.6 MB, free: 7.605 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005391/0.2511, allocations: 281 kB / 430.8 MB, free: 7.32 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002995/0.2514, allocations: 23.88 kB / 430.9 MB, free: 7.297 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003218/0.2547, allocations: 2.491 MB / 433.3 MB, free: 4.723 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001318/0.2548, allocations: 0.728 MB / 434.1 MB, free: 3.969 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.459e-05/0.2549, allocations: 17.5 kB / 434.1 MB, free: 3.949 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.121e-05/0.255, allocations: 55.41 kB / 434.1 MB, free: 3.895 MB / 302.1 MB Notification: Performance of SimCode: time 5.71e-07/0.255, allocations: 0 / 434.1 MB, free: 3.895 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04104/0.296, allocations: 6.086 MB / 440.2 MB, free: 13.9 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.5/12.8, allocations: 8.656 kB / 440.2 MB, free: 13.89 MB / 318.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe 2>&1)