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.001328/0.001328, allocations: 104.3 kB / 19.74 MB, free: 1.906 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.001513/0.001513, allocations: 218.1 kB / 23.03 MB, free: 4.984 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.456/1.456, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.03623/0.03623, allocations: 6.137 MB / 319.4 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.OneSourceOneLigneWithFault,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLigneWithFault",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLigneWithFault,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLigneWithFault",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001574/0.001574, allocations: 51.92 kB / 444.4 MB, free: 5.082 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0973/0.09888, allocations: 55.02 MB / 499.4 MB, free: 13.96 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLigneWithFault): time 0.002953/0.1018, allocations: 1.654 MB / 0.4894 GB, free: 12.3 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002196/0.104, allocations: 1.579 MB / 0.4909 GB, free: 10.71 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.1041, allocations: 4 kB / 0.4909 GB, free: 10.71 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000366/0.1045, allocations: 135.3 kB / 0.491 GB, free: 10.57 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003275/0.1048, allocations: 151.1 kB / 0.4912 GB, free: 10.43 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001589/0.1064, allocations: 0.7727 MB / 0.4919 GB, free: 9.652 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004501/0.1069, allocations: 334.5 kB / 0.4922 GB, free: 9.324 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002054/0.1071, allocations: 83.28 kB / 0.4923 GB, free: 9.242 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001489/0.1072, allocations: 135.6 kB / 0.4925 GB, free: 9.109 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002586/0.1075, allocations: 155.3 kB / 0.4926 GB, free: 8.957 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.228e-05/0.1075, allocations: 32 kB / 0.4926 GB, free: 8.926 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003856/0.1079, allocations: 223.8 kB / 0.4929 GB, free: 8.707 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.636e-05/0.108, allocations: 75.62 kB / 0.4929 GB, free: 8.633 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001606/0.1081, allocations: 135.4 kB / 0.4931 GB, free: 8.5 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006597/0.1088, allocations: 0.51 MB / 0.4935 GB, free: 7.988 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.1088, allocations: 4 kB / 0.4936 GB, free: 7.984 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1088, allocations: 0 / 0.4936 GB, free: 7.984 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.1088, allocations: 0 / 0.4936 GB, free: 7.984 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.002658/0.1115, allocations: 0.8576 MB / 0.4944 GB, free: 7.086 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.1115, allocations: 8.031 kB / 0.4944 GB, free: 7.078 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.979e-05/0.1116, allocations: 62.66 kB / 0.4945 GB, free: 7.008 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002329/0.1118, allocations: 48.73 kB / 0.4945 GB, free: 6.961 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003822/0.1122, allocations: 237.9 kB / 0.4947 GB, free: 6.703 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.293e-05/0.1122, allocations: 20.81 kB / 0.4948 GB, free: 6.684 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.135e-05/0.1123, allocations: 24.38 kB / 0.4948 GB, free: 6.66 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006209/0.1129, allocations: 403.2 kB / 0.4952 GB, free: 6.246 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.1129, allocations: 3.938 kB / 0.4952 GB, free: 6.242 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.196e-05/0.1129, allocations: 8 kB / 0.4952 GB, free: 6.234 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.315e-06/0.1129, allocations: 11.94 kB / 0.4952 GB, free: 6.223 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005586/0.1135, allocations: 371.3 kB / 0.4955 GB, free: 5.852 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001698/0.1152, allocations: 0.8995 MB / 0.4964 GB, free: 4.91 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008548/0.116, allocations: 372.1 kB / 0.4968 GB, free: 4.531 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000318/0.1164, allocations: 210.5 kB / 0.497 GB, free: 4.316 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009958/0.1174, allocations: 0.6251 MB / 0.4976 GB, free: 3.672 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005901/0.118, allocations: 421.5 kB / 0.498 GB, free: 3.211 MB / 366.1 MB Notification: Performance of pre-optimization done (n=32): time 1.933e-06/0.118, allocations: 0 / 0.498 GB, free: 3.211 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.003274/0.1212, allocations: 1.094 MB / 0.4991 GB, free: 2.09 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001225/0.1214, allocations: 199.9 kB / 0.4992 GB, free: 1.852 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003043/0.1217, allocations: 264.8 kB / 0.4995 GB, free: 1.586 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.338e-05/0.1217, allocations: 33.7 kB / 0.4995 GB, free: 1.547 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.1218, allocations: 156.7 kB / 0.4997 GB, free: 1.387 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.32e-05/0.1219, allocations: 103.1 kB / 0.4998 GB, free: 1.285 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001479/0.1221, allocations: 90.11 kB / 0.4999 GB, free: 1.191 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.1222, allocations: 338.8 kB / 0.5002 GB, free: 0.8516 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003573/0.1226, allocations: 214.5 kB / 0.5004 GB, free: 0.6328 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004045/0.123, allocations: 298.6 kB / 0.5007 GB, free: 316 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00477/0.1278, allocations: 1.439 MB / 0.5021 GB, free: 14.81 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.977e-06/0.1278, allocations: 0 / 0.5021 GB, free: 14.81 MB / 382.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001998/0.1298, allocations: 0.846 MB / 0.5029 GB, free: 13.95 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.375e-05/0.1298, allocations: 41.62 kB / 0.5029 GB, free: 13.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/0.1298, allocations: 4 kB / 0.5029 GB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00134/0.1312, allocations: 316.5 kB / 0.5032 GB, free: 13.58 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002477/0.1314, allocations: 59.91 kB / 0.5033 GB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004185/0.1356, allocations: 2.787 MB / 0.506 GB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004064/0.136, allocations: 35.73 kB / 0.5061 GB, free: 10.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.016e-05/0.136, allocations: 20 kB / 0.5061 GB, free: 10.56 MB / 382.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.0004056/0.1365, allocations: 211.8 kB / 0.5063 GB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.056e-05/0.1365, allocations: 35.81 kB / 0.5063 GB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001863/0.1384, allocations: 0.7864 MB / 0.5071 GB, free: 9.496 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.1384, allocations: 4 kB / 0.5071 GB, free: 9.492 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.1384, allocations: 0 / 0.5071 GB, free: 9.492 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.1384, allocations: 4 kB / 0.5071 GB, free: 9.488 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005317/0.1389, allocations: 356.5 kB / 0.5074 GB, free: 9.098 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.1389, allocations: 0 / 0.5074 GB, free: 9.098 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001042/0.139, allocations: 27.92 kB / 0.5075 GB, free: 9.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001251/0.1403, allocations: 300.6 kB / 0.5077 GB, free: 8.773 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.377e-05/0.1403, allocations: 15.94 kB / 0.5078 GB, free: 8.758 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004689/0.145, allocations: 2.767 MB / 0.5105 GB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.145, allocations: 0 / 0.5105 GB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002031/0.147, allocations: 0.7781 MB / 0.5112 GB, free: 5.066 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.944e-05/0.1471, allocations: 31.78 kB / 0.5113 GB, free: 5.035 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.591e-05/0.1472, allocations: 8 kB / 0.5113 GB, free: 5.027 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002059/0.1474, allocations: 15.98 kB / 0.5113 GB, free: 5.012 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.751e-05/0.1475, allocations: 23.95 kB / 0.5113 GB, free: 4.988 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-05/0.1475, allocations: 16.05 kB / 0.5113 GB, free: 4.973 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002101/0.1477, allocations: 196.4 kB / 0.5115 GB, free: 4.777 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1477, allocations: 0 / 0.5115 GB, free: 4.777 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005106/0.1482, allocations: 127.9 kB / 0.5116 GB, free: 4.652 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.002202/0.1504, allocations: 1.334 MB / 0.5129 GB, free: 3.273 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001517/0.1519, allocations: 0.7703 MB / 0.5137 GB, free: 2.465 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.1519, allocations: 0 / 0.5137 GB, free: 2.465 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009332/0.1529, allocations: 0.5 MB / 0.5142 GB, free: 1.934 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002423/0.1531, allocations: 35.23 kB / 0.5142 GB, free: 1.902 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1926/0.3457, allocations: 4.083 MB / 0.5182 GB, free: 29.15 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001256/0.3458, allocations: 161.2 kB / 0.5183 GB, free: 29.08 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001165/0.3459, allocations: 27.03 kB / 0.5184 GB, free: 29.08 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001161/0.346, allocations: 84.03 kB / 0.5184 GB, free: 29.07 MB / 382.1 MB Notification: Performance of SimCode: time 1.002e-06/0.346, allocations: 0 / 0.5184 GB, free: 29.07 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04228/0.3883, allocations: 10.38 MB / 0.5286 GB, free: 27.25 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/12.18, allocations: 1.156 kB / 0.5286 GB, free: 27.25 MB / 382.1 MB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSysPro_PowerSysPro_Examples_OneSourceOneLigneWithFault.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLigneWithFault.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.86839254712686] Failed to read output from testmodel.py, exit status != 0: 12.295997493900359 12.321484951 12.208470101 Calling exit ...