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.00187/0.00187, allocations: 93.91 kB / 20.52 MB, free: 1.328 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.002242/0.002242, allocations: 212.3 kB / 23.82 MB, free: 4.484 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.476/1.476, allocations: 230.6 MB / 257.6 MB, free: 7.801 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.03896/0.03896, allocations: 6.144 MB / 320.1 MB, free: 12.75 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceThreeLoads,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceThreeLoads",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00207/0.00207, allocations: 47.92 kB / 445.2 MB, free: 5.121 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.125, allocations: 55.04 MB / 0.4885 GB, free: 13.98 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceThreeLoads): time 0.003784/0.1288, allocations: 1.93 MB / 0.4904 GB, free: 12.05 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002958/0.1318, allocations: 1.664 MB / 0.492 GB, free: 10.38 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002737/0.1321, allocations: 8 kB / 0.492 GB, free: 10.37 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005365/0.1326, allocations: 155.1 kB / 0.4922 GB, free: 10.21 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005564/0.1332, allocations: 182.8 kB / 0.4923 GB, free: 10.04 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001873/0.135, allocations: 0.8778 MB / 0.4932 GB, free: 9.156 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005556/0.1356, allocations: 414 kB / 0.4936 GB, free: 8.75 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002076/0.1358, allocations: 87.69 kB / 0.4937 GB, free: 8.66 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001953/0.136, allocations: 179.3 kB / 0.4939 GB, free: 8.484 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003231/0.1363, allocations: 215.1 kB / 0.4941 GB, free: 8.273 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.124e-05/0.1364, allocations: 35.94 kB / 0.4941 GB, free: 8.238 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004536/0.1368, allocations: 227.8 kB / 0.4943 GB, free: 8.016 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.924e-05/0.1369, allocations: 83.62 kB / 0.4944 GB, free: 7.934 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002143/0.1371, allocations: 163.2 kB / 0.4945 GB, free: 7.773 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007443/0.1379, allocations: 0.5449 MB / 0.4951 GB, free: 7.227 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1379, allocations: 0 / 0.4951 GB, free: 7.227 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1379, allocations: 0 / 0.4951 GB, free: 7.227 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.997e-06/0.1379, allocations: 8 kB / 0.4951 GB, free: 7.219 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.004086/0.142, allocations: 1.07 MB / 0.4961 GB, free: 6.113 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/0.142, allocations: 11.98 kB / 0.4961 GB, free: 6.102 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.399e-05/0.142, allocations: 12.78 kB / 0.4962 GB, free: 6.086 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.083e-05/0.1421, allocations: 74.72 kB / 0.4962 GB, free: 6.004 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001146/0.1423, allocations: 44.66 kB / 0.4963 GB, free: 5.961 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000502/0.1428, allocations: 265.4 kB / 0.4965 GB, free: 5.68 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.918e-05/0.1428, allocations: 21.03 kB / 0.4965 GB, free: 5.66 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.632e-05/0.1429, allocations: 32.38 kB / 0.4966 GB, free: 5.629 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000908/0.1438, allocations: 0.65 MB / 0.4972 GB, free: 4.922 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.1438, allocations: 0 / 0.4972 GB, free: 4.922 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.89e-05/0.1438, allocations: 12 kB / 0.4972 GB, free: 4.91 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.731e-05/0.1438, allocations: 4 kB / 0.4972 GB, free: 4.906 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000679/0.1445, allocations: 430.4 kB / 0.4976 GB, free: 4.48 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002215/0.1467, allocations: 1.073 MB / 0.4987 GB, free: 3.363 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001233/0.148, allocations: 0.5083 MB / 0.4992 GB, free: 2.848 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003987/0.1484, allocations: 249.5 kB / 0.4994 GB, free: 2.602 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.537e-05/0.1484, allocations: 16.38 kB / 0.4994 GB, free: 2.586 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.402e-05/0.1485, allocations: 42.88 kB / 0.4995 GB, free: 2.535 MB / 366.1 MB Notification: Performance of pre-optimization done (n=46): time 2.315e-06/0.1485, allocations: 0 / 0.4995 GB, free: 2.535 MB / 366.1 MB Notification: Performance of matching and sorting (n=46): time 0.004828/0.1533, allocations: 1.405 MB / 0.5008 GB, free: 1.113 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.97e-05/0.1534, allocations: 55.41 kB / 0.5009 GB, free: 1.047 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003769/0.1537, allocations: 269.8 kB / 0.5012 GB, free: 0.7734 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.323e-05/0.1538, allocations: 45.64 kB / 0.5012 GB, free: 0.7227 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.1539, allocations: 161.1 kB / 0.5014 GB, free: 0.5625 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001467/0.1541, allocations: 162.6 kB / 0.5015 GB, free: 412 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001817/0.1543, allocations: 94.17 kB / 0.5016 GB, free: 312 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001931/0.1545, allocations: 342.8 kB / 0.5019 GB, free: 15.96 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000436/0.1549, allocations: 268.9 kB / 0.5022 GB, free: 15.7 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004369/0.1553, allocations: 268.4 kB / 0.5024 GB, free: 15.43 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009029/0.1562, allocations: 0.5887 MB / 0.503 GB, free: 14.84 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.1562, allocations: 4 kB / 0.503 GB, free: 14.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.002565/0.1588, allocations: 1.015 MB / 0.504 GB, free: 13.81 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.619e-05/0.1588, allocations: 8 kB / 0.504 GB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.1588, allocations: 3.938 kB / 0.504 GB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001938/0.1608, allocations: 422.1 kB / 0.5044 GB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003273/0.1611, allocations: 71.91 kB / 0.5045 GB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007692/0.1688, allocations: 5.719 MB / 0.5101 GB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003912/0.1692, allocations: 39.61 kB / 0.5101 GB, free: 7.211 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.958e-05/0.1692, allocations: 23.98 kB / 0.5101 GB, free: 7.188 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.0002359/0.1695, allocations: 157.8 kB / 0.5103 GB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.162e-05/0.1696, allocations: 39.7 kB / 0.5103 GB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002595/0.1722, allocations: 0.9899 MB / 0.5113 GB, free: 5.973 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/0.1722, allocations: 4 kB / 0.5113 GB, free: 5.969 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.1722, allocations: 0 / 0.5113 GB, free: 5.969 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.1722, allocations: 0 / 0.5113 GB, free: 5.969 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007543/0.1729, allocations: 444.7 kB / 0.5117 GB, free: 5.488 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.708e-06/0.1729, allocations: 0 / 0.5117 GB, free: 5.488 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002421/0.1732, allocations: 55.91 kB / 0.5118 GB, free: 5.434 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001914/0.1751, allocations: 426.1 kB / 0.5122 GB, free: 5.008 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.899e-05/0.1751, allocations: 12 kB / 0.5122 GB, free: 4.996 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2265/0.4016, allocations: 5.659 MB / 0.5177 GB, free: 28.89 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.4016, allocations: 0 / 0.5177 GB, free: 28.89 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002099/0.4037, allocations: 1.009 MB / 0.5187 GB, free: 28.73 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.771e-05/0.4038, allocations: 44.84 kB / 0.5187 GB, free: 28.73 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.482e-05/0.4039, allocations: 8.094 kB / 0.5188 GB, free: 28.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003449/0.4042, allocations: 29.53 kB / 0.5188 GB, free: 28.73 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/0.4043, allocations: 39.8 kB / 0.5188 GB, free: 28.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.788e-05/0.4044, allocations: 26.27 kB / 0.5188 GB, free: 28.73 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000193/0.4045, allocations: 190.4 kB / 0.519 GB, free: 28.65 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4045, allocations: 0 / 0.519 GB, free: 28.65 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005735/0.4051, allocations: 168.4 kB / 0.5192 GB, free: 28.65 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.002241/0.4074, allocations: 1.575 MB / 0.5207 GB, free: 27.95 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001858/0.4092, allocations: 1.042 MB / 0.5217 GB, free: 27.61 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.227e-06/0.4092, allocations: 2.734 kB / 0.5217 GB, free: 27.61 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001262/0.4105, allocations: 0.7361 MB / 0.5225 GB, free: 27.26 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004518/0.4109, allocations: 57.91 kB / 0.5225 GB, free: 27.25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007806/0.4187, allocations: 4.697 MB / 0.5271 GB, free: 25.63 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002443/0.419, allocations: 195.4 kB / 0.5273 GB, free: 25.54 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002136/0.4192, allocations: 47.69 kB / 0.5273 GB, free: 25.54 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000177/0.4194, allocations: 117.9 kB / 0.5274 GB, free: 25.46 MB / 382.1 MB Notification: Performance of SimCode: time 8.62e-07/0.4194, allocations: 0 / 0.5274 GB, free: 25.46 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04211/0.4615, allocations: 13.86 MB / 0.541 GB, free: 21.32 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.66/14.12, allocations: 13.08 kB / 0.541 GB, free: 21.31 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.838765840046108] Failed to read output from testmodel.py, exit status != 0: 14.298049365985207 14.30864938 14.168382445 Calling exit ...