Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceThreeLoads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 108.3 kB / 19.75 MB, free: 1.879 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 217.6 kB / 23.03 MB, free: 5.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.486/1.486, allocations: 230.6 MB / 256.8 MB, free: 7.934 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo): time 0.04241/0.04241, allocations: 6.146 MB / 319.4 MB, free: 12.73 MB / 254.1 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSysPro.Examples.OneSourceThreeLoads,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceThreeLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceThreeLoads,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceThreeLoads",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001626/0.001626, allocations: 47.92 kB / 444.4 MB, free: 5.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1133, allocations: 55.03 MB / 499.4 MB, free: 13.94 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceThreeLoads): time 0.003342/0.1166, allocations: 1.934 MB / 0.4896 GB, free: 12 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00239/0.119, allocations: 1.664 MB / 0.4913 GB, free: 10.32 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001172/0.1191, allocations: 8 kB / 0.4913 GB, free: 10.32 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003928/0.1195, allocations: 151.1 kB / 0.4914 GB, free: 10.17 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004155/0.12, allocations: 178.8 kB / 0.4916 GB, free: 9.992 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001878/0.1218, allocations: 0.8943 MB / 0.4925 GB, free: 9.098 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000536/0.1224, allocations: 406.1 kB / 0.4928 GB, free: 8.699 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002071/0.1226, allocations: 83.69 kB / 0.4929 GB, free: 8.613 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002044/0.1228, allocations: 175.3 kB / 0.4931 GB, free: 8.441 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003154/0.1231, allocations: 203.1 kB / 0.4933 GB, free: 8.242 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.718e-05/0.1232, allocations: 32 kB / 0.4933 GB, free: 8.211 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000414/0.1236, allocations: 215.8 kB / 0.4935 GB, free: 8 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.464e-05/0.1236, allocations: 79.69 kB / 0.4936 GB, free: 7.922 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001661/0.1238, allocations: 155.2 kB / 0.4937 GB, free: 7.77 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007505/0.1246, allocations: 0.5565 MB / 0.4943 GB, free: 7.211 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1246, allocations: 0 / 0.4943 GB, free: 7.211 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1246, allocations: 0 / 0.4943 GB, free: 7.211 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.126e-05/0.1246, allocations: 4 kB / 0.4943 GB, free: 7.207 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.003807/0.1284, allocations: 1.074 MB / 0.4953 GB, free: 6.098 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.1284, allocations: 11.98 kB / 0.4953 GB, free: 6.086 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.275e-05/0.1285, allocations: 62.73 kB / 0.4954 GB, free: 6.016 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.48e-05/0.1286, allocations: 52.66 kB / 0.4955 GB, free: 5.965 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004488/0.1291, allocations: 265.4 kB / 0.4957 GB, free: 5.684 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.922e-05/0.1291, allocations: 21.03 kB / 0.4957 GB, free: 5.66 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.031e-05/0.1292, allocations: 36.38 kB / 0.4958 GB, free: 5.625 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008358/0.13, allocations: 0.6425 MB / 0.4964 GB, free: 4.926 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.13, allocations: 7.875 kB / 0.4964 GB, free: 4.918 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.158e-05/0.13, allocations: 12 kB / 0.4964 GB, free: 4.906 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.248e-05/0.1301, allocations: 4 kB / 0.4964 GB, free: 4.902 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006659/0.1307, allocations: 418.5 kB / 0.4968 GB, free: 4.492 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002224/0.1329, allocations: 1.084 MB / 0.4979 GB, free: 3.359 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00119/0.1341, allocations: 0.5084 MB / 0.4984 GB, free: 2.844 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000422/0.1346, allocations: 249.5 kB / 0.4986 GB, free: 2.598 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.201e-05/0.1346, allocations: 8.375 kB / 0.4986 GB, free: 2.59 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.659e-05/0.1347, allocations: 42.94 kB / 0.4987 GB, free: 2.539 MB / 366.1 MB Notification: Performance of pre-optimization done (n=46): time 2.825e-06/0.1347, allocations: 0 / 0.4987 GB, free: 2.539 MB / 366.1 MB Notification: Performance of matching and sorting (n=46): time 0.004671/0.1393, allocations: 1.413 MB / 0.5 GB, free: 1.109 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.588e-05/0.1394, allocations: 55.41 kB / 0.5001 GB, free: 1.043 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003524/0.1397, allocations: 269.8 kB / 0.5003 GB, free: 0.7695 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.101e-05/0.1398, allocations: 37.7 kB / 0.5004 GB, free: 0.7266 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.1399, allocations: 165 kB / 0.5005 GB, free: 0.5625 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001471/0.14, allocations: 170.5 kB / 0.5007 GB, free: 404 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001581/0.1402, allocations: 90.17 kB / 0.5008 GB, free: 308 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001774/0.1404, allocations: 346.8 kB / 0.5011 GB, free: 15.95 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004168/0.1408, allocations: 268.9 kB / 0.5014 GB, free: 15.69 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004331/0.1412, allocations: 276.3 kB / 0.5016 GB, free: 15.42 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009191/0.1422, allocations: 0.5809 MB / 0.5022 GB, free: 14.84 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.1422, allocations: 4 kB / 0.5022 GB, free: 14.83 MB / 382.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.002396/0.1446, allocations: 1.011 MB / 0.5032 GB, free: 13.81 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/0.1446, allocations: 4 kB / 0.5032 GB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.1446, allocations: 0 / 0.5032 GB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001834/0.1464, allocations: 430.1 kB / 0.5036 GB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003101/0.1467, allocations: 75.89 kB / 0.5037 GB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007582/0.1543, allocations: 5.708 MB / 0.5093 GB, free: 7.254 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000369/0.1547, allocations: 51.59 kB / 0.5093 GB, free: 7.203 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.537e-05/0.1547, allocations: 19.98 kB / 0.5093 GB, free: 7.184 MB / 382.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 (46): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,4), (2,4), (2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002179/0.1549, allocations: 153.8 kB / 0.5095 GB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.106e-05/0.155, allocations: 39.7 kB / 0.5095 GB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00249/0.1575, allocations: 0.986 MB / 0.5105 GB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.273e-06/0.1575, allocations: 8 kB / 0.5105 GB, free: 5.969 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.1575, allocations: 0 / 0.5105 GB, free: 5.969 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.1575, allocations: 0 / 0.5105 GB, free: 5.969 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005721/0.1581, allocations: 452.7 kB / 0.5109 GB, free: 5.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.1581, allocations: 3.938 kB / 0.5109 GB, free: 5.477 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002036/0.1583, allocations: 51.97 kB / 0.511 GB, free: 5.426 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001765/0.1601, allocations: 426.1 kB / 0.5114 GB, free: 5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.411e-05/0.1601, allocations: 12 kB / 0.5114 GB, free: 4.988 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1894/0.3495, allocations: 5.651 MB / 0.5169 GB, free: 28.82 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.3495, allocations: 1.594 kB / 0.5169 GB, free: 28.82 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002167/0.3517, allocations: 1.011 MB / 0.5179 GB, free: 28.66 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.679e-05/0.3517, allocations: 43.09 kB / 0.5179 GB, free: 28.66 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.813e-05/0.3518, allocations: 3.812 kB / 0.5179 GB, free: 28.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003391/0.3521, allocations: 31.72 kB / 0.518 GB, free: 28.66 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001128/0.3522, allocations: 46.38 kB / 0.518 GB, free: 28.65 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.609e-05/0.3523, allocations: 19.17 kB / 0.518 GB, free: 28.65 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001863/0.3525, allocations: 194.4 kB / 0.5182 GB, free: 28.58 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3525, allocations: 0 / 0.5182 GB, free: 28.58 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005824/0.353, allocations: 172 kB / 0.5184 GB, free: 28.58 MB / 382.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 (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,4), (2,4), (2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002167/0.3552, allocations: 1.572 MB / 0.5199 GB, free: 27.88 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001774/0.357, allocations: 1.038 MB / 0.5209 GB, free: 27.54 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.357, allocations: 0.5625 kB / 0.5209 GB, free: 27.54 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001195/0.3582, allocations: 0.7442 MB / 0.5217 GB, free: 27.19 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004403/0.3586, allocations: 50.73 kB / 0.5217 GB, free: 27.18 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007728/0.3664, allocations: 4.7 MB / 0.5263 GB, free: 25.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000273/0.3666, allocations: 195.4 kB / 0.5265 GB, free: 25.39 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002517/0.3669, allocations: 48.92 kB / 0.5265 GB, free: 25.39 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001822/0.3671, allocations: 119.7 kB / 0.5266 GB, free: 25.31 MB / 382.1 MB Notification: Performance of SimCode: time 1.252e-06/0.3671, allocations: 1.219 kB / 0.5266 GB, free: 25.31 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0493/0.4164, allocations: 14.13 MB / 0.5404 GB, free: 20.79 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13/13.42, allocations: 7.219 kB / 0.5404 GB, free: 20.79 MB / 382.1 MB " [Timeout remaining time 646] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLoads.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceThreeLoads.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceThreeLoads.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceThreeLoads.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceThreeLoads_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceThreeLoads.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceThreeLoads.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.011134843807667] Failed to read output from testmodel.py, exit status != 0: 13.542286217678338 13.56376891 13.434785836 Calling exit ...