Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault.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.001314/0.001314, allocations: 120.9 kB / 17.88 MB, free: 5.027 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.0014/0.0014, allocations: 209.6 kB / 20.84 MB, free: 2.082 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.494/1.494, allocations: 230.6 MB / 254.2 MB, free: 15.08 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.04409/0.04409, allocations: 6.125 MB / 316.4 MB, free: 1.141 MB / 238.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.OneSourceOneLigneWithFault,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLigneWithFault",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLigneWithFault,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLigneWithFault",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 50.44 kB / 439.9 MB, free: 40.7 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1024, allocations: 54.98 MB / 494.9 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLigneWithFault): time 0.002388/0.1048, allocations: 1.844 MB / 496.8 MB, free: 8.629 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001632/0.1065, allocations: 1.645 MB / 498.4 MB, free: 6.969 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001062/0.1066, allocations: 4 kB / 498.4 MB, free: 6.965 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003331/0.1069, allocations: 139.2 kB / 498.6 MB, free: 6.828 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002843/0.1072, allocations: 151.1 kB / 498.7 MB, free: 6.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001195/0.1084, allocations: 0.8403 MB / 499.5 MB, free: 5.836 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003358/0.1087, allocations: 326.5 kB / 499.9 MB, free: 5.516 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001578/0.1089, allocations: 93.98 kB / 500 MB, free: 5.422 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.071e-05/0.109, allocations: 135.5 kB / 0.4884 GB, free: 5.289 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001905/0.1092, allocations: 183.3 kB / 0.4885 GB, free: 5.109 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.717e-05/0.1092, allocations: 32 kB / 0.4886 GB, free: 5.078 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003367/0.1095, allocations: 231.8 kB / 0.4888 GB, free: 4.852 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.192e-05/0.1096, allocations: 71.7 kB / 0.4889 GB, free: 4.781 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000108/0.1097, allocations: 163.2 kB / 0.489 GB, free: 4.621 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004508/0.1101, allocations: 0.5139 MB / 0.4895 GB, free: 4.105 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.1101, allocations: 0 / 0.4895 GB, free: 4.105 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1101, allocations: 4 kB / 0.4895 GB, free: 4.102 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.222e-05/0.1101, allocations: 0 / 0.4895 GB, free: 4.102 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.002374/0.1125, allocations: 0.9329 MB / 0.4904 GB, free: 3.109 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.1126, allocations: 8.031 kB / 0.4904 GB, free: 3.102 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.363e-05/0.1126, allocations: 4.625 kB / 0.4904 GB, free: 3.098 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.305e-05/0.1126, allocations: 54.73 kB / 0.4905 GB, free: 3.035 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000217/0.1128, allocations: 44.73 kB / 0.4905 GB, free: 2.992 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002466/0.1131, allocations: 303.7 kB / 0.4908 GB, free: 2.656 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/0.1131, allocations: 28.73 kB / 0.4909 GB, free: 2.629 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.277e-05/0.1131, allocations: 24.38 kB / 0.4909 GB, free: 2.605 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004208/0.1136, allocations: 339.5 kB / 0.4912 GB, free: 2.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.1136, allocations: 4 kB / 0.4912 GB, free: 2.266 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.761e-05/0.1136, allocations: 8 kB / 0.4912 GB, free: 2.258 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.1136, allocations: 4 kB / 0.4912 GB, free: 2.254 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003902/0.114, allocations: 325.6 kB / 0.4915 GB, free: 1.934 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001399/0.1154, allocations: 1.249 MB / 0.4927 GB, free: 0.5859 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007279/0.1161, allocations: 490.3 kB / 0.4932 GB, free: 64 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002924/0.1164, allocations: 180.9 kB / 0.4934 GB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001135/0.1175, allocations: 0.8936 MB / 0.4943 GB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005821/0.1181, allocations: 369.9 kB / 0.4946 GB, free: 14.53 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 2.305e-06/0.1181, allocations: 0 / 0.4946 GB, free: 14.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.003393/0.1215, allocations: 1.083 MB / 0.4957 GB, free: 13.41 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001398/0.1217, allocations: 195.9 kB / 0.4959 GB, free: 13.18 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003032/0.122, allocations: 264.9 kB / 0.4961 GB, free: 12.91 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.425e-05/0.122, allocations: 41.64 kB / 0.4962 GB, free: 12.86 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001269/0.1221, allocations: 164.7 kB / 0.4963 GB, free: 12.7 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.733e-05/0.1222, allocations: 99.12 kB / 0.4964 GB, free: 12.6 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001712/0.1224, allocations: 86.06 kB / 0.4965 GB, free: 12.51 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.1226, allocations: 334.8 kB / 0.4968 GB, free: 12.17 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003122/0.1229, allocations: 184.8 kB / 0.497 GB, free: 11.99 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003921/0.1233, allocations: 276.9 kB / 0.4972 GB, free: 11.69 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005008/0.1283, allocations: 1.408 MB / 0.4986 GB, free: 10.23 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.223e-06/0.1283, allocations: 0 / 0.4986 GB, free: 10.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002071/0.1303, allocations: 0.817 MB / 0.4994 GB, free: 9.395 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.873e-05/0.1304, allocations: 37.7 kB / 0.4995 GB, free: 9.352 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.1304, allocations: 0 / 0.4995 GB, free: 9.352 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001369/0.1318, allocations: 316.6 kB / 0.4998 GB, free: 9.039 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002515/0.132, allocations: 67.89 kB / 0.4998 GB, free: 8.973 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004282/0.1363, allocations: 2.937 MB / 0.5027 GB, free: 5.895 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003981/0.1367, allocations: 43.77 kB / 0.5027 GB, free: 5.852 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.033e-05/0.1368, allocations: 12.11 kB / 0.5027 GB, free: 5.84 MB / 366.1 MB Warning: Assuming fixed start value for the following 3 variables: lnFault.myFault.fault:DISCRETE(start = false fixed = true ) \"true means the fault is active\" type: Boolean lnFault.myFault.Y.re:DISCRETE(start = 0.0 fixed = true ) \"Real part of complex number\" type: Real lnFault.myFault.Y.im:DISCRETE(start = 0.0 fixed = true ) \"Imaginary part of complex number\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.lnFault.myFault.fault,lnFault.myFault.fault,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.lnFault.myFault.Y.re,$PRE.lnFault.myFault.Y.im,lnFault.myFault.Y.im,lnFault.myFault.Y.re) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 1 * 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): 1 system {(3,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000349/0.1371, allocations: 211.8 kB / 0.5029 GB, free: 5.617 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.794e-05/0.1372, allocations: 27.86 kB / 0.503 GB, free: 5.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001821/0.139, allocations: 0.7484 MB / 0.5037 GB, free: 4.82 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.139, allocations: 4 kB / 0.5037 GB, free: 4.816 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.139, allocations: 8 kB / 0.5037 GB, free: 4.809 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.139, allocations: 0 / 0.5037 GB, free: 4.809 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004891/0.1395, allocations: 469.2 kB / 0.5042 GB, free: 4.301 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.1395, allocations: 0 / 0.5042 GB, free: 4.301 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001012/0.1396, allocations: 20 kB / 0.5042 GB, free: 4.281 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001284/0.1409, allocations: 308.5 kB / 0.5045 GB, free: 3.977 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.424e-05/0.1409, allocations: 11.94 kB / 0.5045 GB, free: 3.965 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004243/0.1452, allocations: 2.934 MB / 0.5073 GB, free: 0.8867 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.1452, allocations: 0 / 0.5073 GB, free: 0.8867 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001693/0.1469, allocations: 0.7181 MB / 0.5081 GB, free: 144 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.147, allocations: 117 kB / 0.5082 GB, free: 8 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.689e-05/0.147, allocations: 12.02 kB / 0.5082 GB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002072/0.1472, allocations: 12 kB / 0.5082 GB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.609e-05/0.1473, allocations: 27.91 kB / 0.5082 GB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.179e-05/0.1474, allocations: 19.98 kB / 0.5082 GB, free: 15.93 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002039/0.1476, allocations: 192.3 kB / 0.5084 GB, free: 15.74 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1476, allocations: 4 kB / 0.5084 GB, free: 15.74 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000543/0.1481, allocations: 127.9 kB / 0.5085 GB, free: 15.61 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: 7 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,lnFault.myFault.Y.re,lnFault.myFault.Y.im,lnFault.myFault.fault) * Number of discrete states: 7 ($whenCondition4,lnFault.myFault.Y.im,lnFault.myFault.Y.re,$whenCondition3,$whenCondition2,lnFault.myFault.fault,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 1 * 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): 1 system {(3,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002127/0.1502, allocations: 1.29 MB / 0.5098 GB, free: 14.29 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001478/0.1517, allocations: 0.697 MB / 0.5105 GB, free: 13.57 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1517, allocations: 0 / 0.5105 GB, free: 13.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009016/0.1526, allocations: 474.3 kB / 0.5109 GB, free: 13.08 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002424/0.1529, allocations: 25.62 kB / 0.511 GB, free: 13.05 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006555/0.1594, allocations: 3.927 MB / 0.5148 GB, free: 8.973 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003883/0.1598, allocations: 0.7647 MB / 0.5155 GB, free: 8.184 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001142/0.1599, allocations: 34.34 kB / 0.5156 GB, free: 8.152 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001403/0.1601, allocations: 83.41 kB / 0.5157 GB, free: 8.07 MB / 382.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1601, allocations: 3.938 kB / 0.5157 GB, free: 8.066 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03647/0.1965, allocations: 9.531 MB / 0.525 GB, free: 14.66 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.11, allocations: 15.94 kB / 0.525 GB, free: 14.65 MB / 398.1 MB " [Timeout remaining time 649] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneLigneWithFault_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneLigneWithFault.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.801613516989164] Failed to read output from testmodel.py, exit status != 0: 11.251263121026568 11.273638372 11.159256892 Calling exit ...